Update README and apply dfu-util parameters

anne_pro
Michiel Visser 2019-06-25 20:56:53 +02:00
parent 4e333e9ff6
commit d2632e4992
2 changed files with 23 additions and 26 deletions

View File

@ -1,31 +1,25 @@
# Anne Pro # Anne Pro
QMK firmware port for the Obins Anne Pro 60% keyboard.
![Anne Pro](https://i.imgur.com/wF7mz7u.jpg)
QMK firmware port for the Anne Pro 60% keyboard produced by [Obins](http://en.obins.net).
__This firmware is not created or supported by the creator of this keyboard!__ __This firmware is not created or supported by the creator of this keyboard!__
## Building the firmware Keyboard Maintainer: [Michiel Visser](https://github.com/msvisser)
To build the firmware a few things have to be done. Hardware Supported: Anne Pro (this means no support for the _Anne Pro 2_)
First ChibiOS has to be patched, to do this use the provided script in the keyboard folder. Hardware Availability: Discontinued, [possible vendors](https://www.reddit.com/r/AnnePro/wiki/vendors)
```
$ ./apply_patch.sh
```
After this build the Anne Pro firmware from the main folder.
```
$ make anne_pro
```
This produces a file `anne_pro_default.bin` in the main folder.
## Flashing the firmware Before building the firmware for this keyboard a patch has to be applied:
First find the correct device to flash.
``` ./keyboards/anne_pro/apply_patch.sh
$ dfu-util -l
... Make example for this keyboard (after setting up your build environment):
Found DFU: [0483:df11] ver=0200, devnum=30, cfg=1, intf=0, path="20-1.1", alt=2, name="@BluetoothFlash /0x1c000000/14*256 a,192*256 g", serial="017D37663036"
Found DFU: [0483:df11] ver=0200, devnum=30, cfg=1, intf=0, path="20-1.1", alt=1, name="@Internal Flash /0x0c000000/64*256 a,192*256 g", serial="017D37663036" make anne_pro:default
Found DFU: [0483:df11] ver=0200, devnum=30, cfg=1, intf=0, path="20-1.1", alt=0, name="@Internal Flash /0x08000000/64*256 a,192*256 g", serial="017D37663036"
... Flashing the firmware can easily be done when the keyboard is in DFU mode:
```
Use the device with `Internal Flash 0x08000000` and specify the interface and alt. To flash use the following command. make anne_pro:default:dfu-util
```
$ dfu-util --alt 0 --intf 0 --dfuse-address 0x08004000 --download anne_pro_default.bin 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).
```

View File

@ -20,6 +20,9 @@ MCU = cortex-m3
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
ARMV = 7 ARMV = 7
# Extra arguments for dfu-util to flash to the correct location
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08004000
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #