summaryrefslogtreecommitdiff
path: root/keyboards/wolfmarkclub
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-02-07 14:09:21 +1100
committerGitHub <noreply@github.com>2022-02-06 19:09:21 -0800
commita86d6fffc950242f412e05a6a0aed8beede01ba4 (patch)
treec99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/wolfmarkclub
parent53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff)
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/wolfmarkclub')
-rw-r--r--keyboards/wolfmarkclub/wm1/rules.mk3
-rw-r--r--keyboards/wolfmarkclub/wm1/wm1.c5
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