]> git.donarmstrong.com Git - qmk_firmware.git/commit
Chibios_test/stm32_f072_onekey: Add support for reset to bootloader (#4238)
authorTerryMathews <terry@terrymathews.net>
Tue, 25 Dec 2018 18:42:48 +0000 (13:42 -0500)
committerDrashna Jaelre <drashna@live.com>
Tue, 25 Dec 2018 18:42:48 +0000 (10:42 -0800)
commitde78d9e1ffbeff34991413641c794a36e9fc5f9d
tree053e5f36b93af0d7a7a6a65267e060fe5b8fb11a
parent08e9fc142c89e783fdad3ecda0639bdf5c2e4c50
Chibios_test/stm32_f072_onekey: Add support for reset to bootloader (#4238)

* Add support for reset to bootloader

Chibios_test/STM32_F072_ONEKEY wouldn't reset to bootloader on a
compatible Discovery board because the Chibios library board file was
lacking the __early_init(void) function necessary to read the magic key.
Borrowed code from Clueboard 60, tested working.

* Remove board.chcfg
keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.c [new file with mode: 0644]
keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.h [new file with mode: 0644]
keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk [new file with mode: 0644]