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

@ -16,6 +16,11 @@ void board_init(void) {
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
}
void bootloader_jump(void) {
// This board doesn't use the "standard" stm32duino bootloader, and is resident in memory at the base location. All we can do here is reset.
NVIC_SystemReset();
}
void matrix_init_kb(void)
{
// Init LED Ports