Migrate MCU and BOOTLOADER to data-driven (#19529)

This commit is contained in:
Ryan
2023-02-08 18:41:46 +11:00
committed by GitHub
parent 3499677b6a
commit f9aeea64c1
4886 changed files with 5301 additions and 14866 deletions

View File

@@ -25,6 +25,8 @@
"pid": "0x0002",
"vid": "0x0645"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"encoder": {
"rotary": [
{ "pin_a": "B3", "pin_b": "A15" },

View File

@@ -1,8 +1,2 @@
# MCU name
MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE