Fixup bootloaders. (#16256)
This commit is contained in:
parent
53a7306682
commit
a86d6fffc9
17 changed files with 70 additions and 0 deletions
|
@ -5,6 +5,9 @@ MCU = STM32F103
|
|||
MCU_LDSCRIPT = wm1_f103
|
||||
BOARD = STM32_F103_STM32DUINO
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = custom
|
||||
|
||||
PROGRAM_CMD = echo 'CLI flashing not supported' >&2
|
||||
|
||||
# Build Options
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#include "wm1.h"
|
||||
|
||||
void bootloader_jump(void) {
|
||||
// This board doesn't use the "standard" stm32duino bootloader, and no information is available regarding how to enter bootloader mode. All we can do here is reset.
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
setPinOutput(B1); // Top Indicator LED
|
||||
setPinOutput(B0); // Middle Indicator LED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue