Remove bootloader logic from mcu_selection.mk (#20150)
* Remove bootloader logic from mcu_selection.mk * Move MCU/BOOTLOADER to info.json
This commit is contained in:
parent
2c19e5d1c3
commit
50cb8a3bf5
13 changed files with 109 additions and 58 deletions
|
|
@ -8,6 +8,8 @@
|
|||
"pid": "0xFF16",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"matrix_pins": {
|
||||
"cols": ["B8", "B9", "B10", "B11"],
|
||||
"rows": ["A9", "B13", "B14", "B15", "B3"]
|
||||
|
|
|
|||
|
|
@ -1,16 +1,5 @@
|
|||
# MCU name
|
||||
MCU = STM32F103
|
||||
|
||||
# Bootloader selection
|
||||
# BOOTLOADER = stm32duino
|
||||
|
||||
# Custom loader configuration
|
||||
MCU_LDSCRIPT = STM32F103xB_stm32duino_bootloader
|
||||
OPT_DEFS += -DBOOTLOADER_STM32DUINO
|
||||
BOARD = STM32_F103_STM32DUINO
|
||||
BOOTLOADER_TYPE = stm32duino
|
||||
DFU_ARGS = -d 1EAF:0003 -a 2 -R
|
||||
DFU_SUFFIX_ARGS = -v 1EAF -p 0003
|
||||
# Configure for 128K flash
|
||||
MCU_LDSCRIPT = STM32F103xB
|
||||
|
||||
# Extra include
|
||||
SRC += keycode_lookup.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue