diff options
author | Nick Brassel <nick@tzarc.org> | 2022-02-07 14:09:21 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 19:09:21 -0800 |
commit | a86d6fffc950242f412e05a6a0aed8beede01ba4 (patch) | |
tree | c99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/ducky | |
parent | 53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff) |
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/ducky')
-rw-r--r-- | keyboards/ducky/one2mini/1861st/1861st.c | 8 | ||||
-rw-r--r-- | keyboards/ducky/one2mini/1861st/rules.mk | 3 |
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 |