summaryrefslogtreecommitdiff
path: root/keyboards/wolfmarkclub/wm1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/wolfmarkclub/wm1')
-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