1
0
Fork 0

On Linux, run dfu-programmer as root

This commit is contained in:
Christopher Browne 2016-01-29 15:35:51 -05:00
parent 05d43b0687
commit 580c3e1d55

View file

@ -3,6 +3,7 @@
## Setting up the environment ## Setting up the environment
### Windows ### Windows
1. Install [WinAVR Tools](http://sourceforge.net/projects/winavr/) for AVR GCC compiler. 1. Install [WinAVR Tools](http://sourceforge.net/projects/winavr/) for AVR GCC compiler.
2. Install [DFU-Programmer][dfu-prog] (the -win one). 2. Install [DFU-Programmer][dfu-prog] (the -win one).
3. Start DFU bootloader on the chip first time you will see 'Found New Hardware Wizard' to install driver. If you install device driver properly you can find chip name like 'ATmega32U4' under 'LibUSB-Win32 Devices' tree on 'Device Manager'. If not you will need to update its driver on 'Device Manager' to the `dfu-programmer` driver. 3. Start DFU bootloader on the chip first time you will see 'Found New Hardware Wizard' to install driver. If you install device driver properly you can find chip name like 'ATmega32U4' under 'LibUSB-Win32 Devices' tree on 'Device Manager'. If not you will need to update its driver on 'Device Manager' to the `dfu-programmer` driver.
@ -24,6 +25,9 @@ Otherwise, these instructions will work:
1. Install AVR GCC with your favorite package manager. 1. Install AVR GCC with your favorite package manager.
2. Install [DFU-Programmer][dfu-prog]. 2. Install [DFU-Programmer][dfu-prog].
Note that, since it will be directly accessing USB hardware, the
`dfu-programmer` program needs to be run as root.
## Verify Your Installation ## Verify Your Installation
1. Clone the following repository: https://github.com/jackhumbert/qmk_firmware 1. Clone the following repository: https://github.com/jackhumbert/qmk_firmware
2. Open a Terminal and `cd` into `qmk_firmware/keyboard/planck` 2. Open a Terminal and `cd` into `qmk_firmware/keyboard/planck`