diff options
| author | Nick Brassel | 2022-02-07 04:09:21 +0100 |
|---|---|---|
| committer | GitHub | 2022-02-07 04:09:21 +0100 |
| commit | a86d6fffc950242f412e05a6a0aed8beede01ba4 (patch) | |
| tree | c99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/wolfmarkclub/wm1 | |
| parent | 53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff) | |
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/wolfmarkclub/wm1')
| -rw-r--r-- | keyboards/wolfmarkclub/wm1/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/wolfmarkclub/wm1/wm1.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/wolfmarkclub/wm1/rules.mk b/keyboards/wolfmarkclub/wm1/rules.mk index 2782d497ce..a712747048 100644 --- a/keyboards/wolfmarkclub/wm1/rules.mk +++ b/keyboards/wolfmarkclub/wm1/rules.mk @@ -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 diff --git a/keyboards/wolfmarkclub/wm1/wm1.c b/keyboards/wolfmarkclub/wm1/wm1.c index d199546f89..0ad1ade4cc 100644 --- a/keyboards/wolfmarkclub/wm1/wm1.c +++ b/keyboards/wolfmarkclub/wm1/wm1.c @@ -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 |