Update README and apply dfu-util parameters
parent
4e333e9ff6
commit
d2632e4992
|
|
@ -1,31 +1,25 @@
|
|||
# Anne Pro
|
||||
QMK firmware port for the Obins Anne Pro 60% keyboard.
|
||||
|
||||

|
||||
|
||||
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!__
|
||||
|
||||
## Building the firmware
|
||||
To build the firmware a few things have to be done.
|
||||
First ChibiOS has to be patched, to do this use the provided script in the keyboard folder.
|
||||
```
|
||||
$ ./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.
|
||||
Keyboard Maintainer: [Michiel Visser](https://github.com/msvisser)
|
||||
Hardware Supported: Anne Pro (this means no support for the _Anne Pro 2_)
|
||||
Hardware Availability: Discontinued, [possible vendors](https://www.reddit.com/r/AnnePro/wiki/vendors)
|
||||
|
||||
## Flashing the firmware
|
||||
First find the correct device to flash.
|
||||
```
|
||||
$ dfu-util -l
|
||||
...
|
||||
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"
|
||||
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"
|
||||
...
|
||||
```
|
||||
Use the device with `Internal Flash 0x08000000` and specify the interface and alt. To flash use the following command.
|
||||
```
|
||||
$ dfu-util --alt 0 --intf 0 --dfuse-address 0x08004000 --download anne_pro_default.bin
|
||||
```
|
||||
Before building the firmware for this keyboard a patch has to be applied:
|
||||
|
||||
./keyboards/anne_pro/apply_patch.sh
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make anne_pro:default
|
||||
|
||||
Flashing the firmware can easily be done when the keyboard is in DFU mode:
|
||||
|
||||
make anne_pro:default:dfu-util
|
||||
|
||||
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).
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ MCU = cortex-m3
|
|||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 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
|
||||
# comment out to disable the options.
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in New Issue