summaryrefslogtreecommitdiff
path: root/keyboards/matrix/m12og/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/m12og/rev1')
-rw-r--r--keyboards/matrix/m12og/rev1/rev1.c5
-rw-r--r--keyboards/matrix/m12og/rev1/rules.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/matrix/m12og/rev1/rev1.c b/keyboards/matrix/m12og/rev1/rev1.c
index e3277bee27..53183c7d2d 100644
--- a/keyboards/matrix/m12og/rev1/rev1.c
+++ b/keyboards/matrix/m12og/rev1/rev1.c
@@ -20,6 +20,11 @@ void board_init(void) {
writePinLow(A8);
}
+void bootloader_jump(void) {
+ // This board doesn't use the standard DFU bootloader, and no information is available regarding how to enter bootloader mode. All we can do here is reset.
+ NVIC_SystemReset();
+}
+
void keyboard_post_init_kb(void) {
rgblight_enable_noeeprom();
rgblight_sethsv_noeeprom(5, 255, 255);
diff --git a/keyboards/matrix/m12og/rev1/rules.mk b/keyboards/matrix/m12og/rev1/rules.mk
index 0e0584b8c9..d9733e8c5e 100644
--- a/keyboards/matrix/m12og/rev1/rules.mk
+++ b/keyboards/matrix/m12og/rev1/rules.mk
@@ -5,6 +5,9 @@ MCU_LDSCRIPT = m12og_v1
BOARD = m12og_v1
+# Bootloader selection
+BOOTLOADER = custom
+
# Build Options
# change yes to no to disable
#