1
0
Fork 0

Fixup bootloaders. (#16256)

This commit is contained in:
Nick Brassel 2022-02-07 14:09:21 +11:00 committed by GitHub
parent 53a7306682
commit a86d6fffc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 70 additions and 0 deletions

View file

@ -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();
}

View file

@ -1,6 +1,9 @@
MCU_FAMILY = NUMICRO
MCU_SERIES = NUC123
# Bootloader selection
BOOTLOADER = custom
# linker script to use
MCU_LDSCRIPT = NUC123xD4xx0