summaryrefslogtreecommitdiff
path: root/keyboards/ducky/one2mini/1861st
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ducky/one2mini/1861st')
-rw-r--r--keyboards/ducky/one2mini/1861st/1861st.c8
-rw-r--r--keyboards/ducky/one2mini/1861st/rules.mk3
2 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/ducky/one2mini/1861st/1861st.c b/keyboards/ducky/one2mini/1861st/1861st.c
new file mode 100644
index 0000000000..1c164ea70d
--- /dev/null
+++ b/keyboards/ducky/one2mini/1861st/1861st.c
@@ -0,0 +1,8 @@
+// Copyright 2022 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#include "1861st.h"
+
+void bootloader_jump(void) {
+ // TODO: Work out how to jump to LDROM, for now just reset the board.
+ NVIC_SystemReset();
+}
diff --git a/keyboards/ducky/one2mini/1861st/rules.mk b/keyboards/ducky/one2mini/1861st/rules.mk
index 277108c8ac..a5b4708b26 100644
--- a/keyboards/ducky/one2mini/1861st/rules.mk
+++ b/keyboards/ducky/one2mini/1861st/rules.mk
@@ -1,6 +1,9 @@
MCU_FAMILY = NUMICRO
MCU_SERIES = NUC123
+# Bootloader selection
+BOOTLOADER = custom
+
# linker script to use
MCU_LDSCRIPT = NUC123xD4xx0