diff options
author | TerryMathews <terry@terrymathews.net> | 2018-12-25 13:42:48 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-25 10:42:48 -0800 |
commit | de78d9e1ffbeff34991413641c794a36e9fc5f9d (patch) | |
tree | 053e5f36b93af0d7a7a6a65267e060fe5b8fb11a /keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk | |
parent | 08e9fc142c89e783fdad3ecda0639bdf5c2e4c50 (diff) |
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
Diffstat (limited to 'keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk')
-rw-r--r-- | keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk b/keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk new file mode 100644 index 0000000000..b98dcdd26c --- /dev/null +++ b/keyboards/chibios_test/boards/ST_STM32F072B_DISCOVERY/board.mk @@ -0,0 +1,5 @@ +# List of all the board related files. +BOARDSRC = $(BOARD_PATH)/boards/ST_STM32F072B_DISCOVERY/board.c + +# Required include directories +BOARDINC = $(BOARD_PATH)/boards/ST_STM32F072B_DISCOVERY |