forked from mirrors/qmk_userspace
Refactor bootloader_jump() implementations (#15450)
* Refactor `bootloader_jump()` implementations * Fix tests? * Rename `atmel-samba` to `md-boot`
This commit is contained in:
parent
cffe143ca2
commit
6bc870d899
32 changed files with 701 additions and 493 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# MCU name
|
||||
MCU = MK20DX256
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
MCU = MKL26Z64
|
||||
USE_CHIBIOS_CONTRIB = yes
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ SRC += config_led.c
|
|||
ARM_ATSAM = SAMD51J18A
|
||||
MCU = cortex-m4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = md-boot
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ SRC += config_led.c
|
|||
ARM_ATSAM = SAMD51J18A
|
||||
MCU = cortex-m4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = md-boot
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ MCU = atmega32a
|
|||
F_CPU = 16000000
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = USBasp
|
||||
BOOTLOADER = usbasploader
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
|
|
@ -21,4 +21,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
CUSTOM_MATRIX = lite
|
||||
|
||||
SRC += matrix.c
|
||||
SRC += matrix.c
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ MCU = STM32F103
|
|||
MCU_LDSCRIPT = STM32F103xB_stm32duino_bootloader
|
||||
OPT_DEFS += -DBOOTLOADER_STM32DUINO
|
||||
BOARD = STM32_F103_STM32DUINO
|
||||
STM32_BOOTLOADER_ADDRESS = 0x80000000
|
||||
BOOTLOADER_TYPE = stm32duino
|
||||
DFU_ARGS = -d 1EAF:0003 -a 2 -R
|
||||
DFU_SUFFIX_ARGS = -v 1EAF -p 0003
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
MCU = atmega32a
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = bootloadHID
|
||||
BOOTLOADER = bootloadhid
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue