diff options
| author | Joel Challis <git@zvecr.com> | 2019-08-24 16:35:11 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-08-24 08:35:11 -0700 |
| commit | 51bcadf38cfccc08b287554ab17e21624abf55b8 (patch) | |
| tree | cf01c2e084befb908b6b4fb7ffa2002e4e4015b5 /quantum | |
| parent | fb7c65dc34b3001617635e6afd10480f2770522d (diff) | |
| download | qmk_firmware-51bcadf38cfccc08b287554ab17e21624abf55b8.tar.gz qmk_firmware-51bcadf38cfccc08b287554ab17e21624abf55b8.zip | |
Add 'bootloadHID' flash target (#5587)
* Add 'bootloadHID' flash target
* Prep for flash target
* Add :flash support
* Align bootloader wait messages
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update template to suggest use of :flash
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/template/ps2avrgb/readme.md | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/quantum/template/ps2avrgb/readme.md b/quantum/template/ps2avrgb/readme.md index 1449b278c..9d3ca0006 100644 --- a/quantum/template/ps2avrgb/readme.md +++ b/quantum/template/ps2avrgb/readme.md | |||
| @@ -12,35 +12,10 @@ Make example for this keyboard (after setting up your build environment): | |||
| 12 | 12 | ||
| 13 | make %KEYBOARD%:default | 13 | make %KEYBOARD%:default |
| 14 | 14 | ||
| 15 | Flashing | 15 | Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](flashing_bootloadhid.md)) |
| 16 | 16 | ||
| 17 | ps2avr(GB) boards use an atmega32a microcontroller and a different bootloader. It is not flashable using the regular QMK methods. | 17 | make %KEYBOARD%:default:flash |
| 18 | 18 | ||
| 19 | **Reset Key:** Hold down the key located at `K00`, commonly programmed as `Esc` while plugging in the keyboard. | 19 | **Reset Key**: Hold down the key located at *LOCATION*, commonly programmed as *KEY* while plugging in the keyboard. |
| 20 | |||
| 21 | Windows: | ||
| 22 | 1. Download [HIDBootFlash](http://vusb.wikidot.com/project:hidbootflash). | ||
| 23 | 2. Place your keyboard into reset. | ||
| 24 | 3. Press the `Find Device` button and ensure that your keyboard is found. | ||
| 25 | 4. Press the `Open .hex File` button and locate the `.hex` file you created. | ||
| 26 | 5. Press the `Flash Device` button and wait for the process to complete. | ||
| 27 | |||
| 28 | macOS: | ||
| 29 | 1. Install homebrew by typing the following: | ||
| 30 | ``` | ||
| 31 | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
| 32 | ``` | ||
| 33 | 2. Install `crosspack-avr`. | ||
| 34 | ``` | ||
| 35 | brew cask install crosspack-avr | ||
| 36 | ``` | ||
| 37 | 3. Install the following packages: | ||
| 38 | ``` | ||
| 39 | brew install python3 | ||
| 40 | pip3 install pyusb | ||
| 41 | brew install --HEAD https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb | ||
| 42 | ``` | ||
| 43 | 4. Place your keyboard into reset. | ||
| 44 | 5. Flash the board by typing `bootloadHID -r` followed by the path to your `.hex` file. | ||
| 45 | 20 | ||
| 46 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | 21 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
