summaryrefslogtreecommitdiff
path: root/keyboards/matrix/noah
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/matrix/noah
parent53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff)
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/matrix/noah')
-rw-r--r--keyboards/matrix/noah/noah.c5
-rw-r--r--keyboards/matrix/noah/rules.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/matrix/noah/noah.c b/keyboards/matrix/noah/noah.c
index 2143dee3be..89c25707af 100644
--- a/keyboards/matrix/noah/noah.c
+++ b/keyboards/matrix/noah/noah.c
@@ -4,6 +4,11 @@
#include "noah.h"
+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();
+}
+
#ifdef RGBLIGHT_ENABLE
#include <string.h>
#include "rgblight.h"
diff --git a/keyboards/matrix/noah/rules.mk b/keyboards/matrix/noah/rules.mk
index b9f642e8cd..7971d628d6 100644
--- a/keyboards/matrix/noah/rules.mk
+++ b/keyboards/matrix/noah/rules.mk
@@ -10,6 +10,9 @@ MCU_LDSCRIPT = noah_boot
# or <this_dir>/boards
BOARD = ST_NUCLEO64_F411RE
+# Bootloader selection
+BOOTLOADER = custom
+
# Build Options
# change yes to no to disable
#