summaryrefslogtreecommitdiffstats
path: root/FAQ-Build.md
diff options
context:
space:
mode:
authortmk <tmk@users.noreply.github.com>2015-11-27 10:59:07 +0900
committertmk <tmk@users.noreply.github.com>2015-11-27 10:59:07 +0900
commit79aa1f348455102e563693e0b3ec647cc73362ae (patch)
tree8be32255e2b70e20325184d1dab50164a3560c0b /FAQ-Build.md
parenta5fc9c91655c993ad697a9d36988f0b12faa908e (diff)
Updated FAQ Build (markdown)
Diffstat (limited to 'FAQ-Build.md')
-rw-r--r--FAQ-Build.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/FAQ-Build.md b/FAQ-Build.md
index 074272d11a..4adbdddc33 100644
--- a/FAQ-Build.md
+++ b/FAQ-Build.md
@@ -14,16 +14,17 @@ Easy way is to use `sudo` command, if you are not familiar with this command che
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/sudo.8.html
-in short,
+In short when your controller is ATMega32u4,
$ sudo dfu-programmer atmega32u4 erase --force
$ sudo dfu-programmer atmega32u4 flash hhkb_rn42.hex
$ sudo dfu-programmer atmega32u4 reset
-or
+or just
$ sudo make dfu
+But to run `make` with root privilege is not good idea. Use former method as possible.
## Do 'make clean' before 'make'
You'll need `make clean` after you edit **config.h** or change options like `KEYMAP`.