summaryrefslogtreecommitdiff
path: root/FAQ-Build.md
diff options
context:
space:
mode:
authortmk <tmk@users.noreply.github.com>2015-11-27 10:56:20 +0900
committertmk <tmk@users.noreply.github.com>2015-11-27 10:56:20 +0900
commita5fc9c91655c993ad697a9d36988f0b12faa908e (patch)
tree04c1c45a404966f10614a38e8f8c47cadd819a5d /FAQ-Build.md
parent03c1f72594204d1167c7e531cda1ba3f030681f5 (diff)
downloadqmk_firmware-a5fc9c91655c993ad697a9d36988f0b12faa908e.tar.gz
qmk_firmware-a5fc9c91655c993ad697a9d36988f0b12faa908e.zip
Updated FAQ Build (markdown)
Diffstat (limited to 'FAQ-Build.md')
-rw-r--r--FAQ-Build.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/FAQ-Build.md b/FAQ-Build.md
index c793891260..074272d11a 100644
--- a/FAQ-Build.md
+++ b/FAQ-Build.md
@@ -8,6 +8,23 @@ In short,
$ make [-f Makefile.<variant>] [KEYMAP=...] dfu
+## Can't program on Linux and Mac
+You will need proper permission to operate a device. For Linux users see udev rules below.
+Easy way is to use `sudo` command, if you are not familiar with this command check its manual with `man sudo` or this page on line.
+
+https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/sudo.8.html
+
+in short,
+
+ $ sudo dfu-programmer atmega32u4 erase --force
+ $ sudo dfu-programmer atmega32u4 flash hhkb_rn42.hex
+ $ sudo dfu-programmer atmega32u4 reset
+
+or
+
+ $ sudo make dfu
+
+
## Do 'make clean' before 'make'
You'll need `make clean` after you edit **config.h** or change options like `KEYMAP`.