diff options
| author | MasterSpoon <84671859+MasterSpoon@users.noreply.github.com> | 2021-10-27 09:10:48 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 16:10:48 -0700 |
| commit | 015c4cf5beab530916b6c539583f9b7179bf42d3 (patch) | |
| tree | 4cc7eea9bad8196f299c31ea232e81c0a5ce507b /quantum | |
| parent | 0f96364daf418c395e583ae639fdd74e71c74142 (diff) | |
| download | qmk_firmware-015c4cf5beab530916b6c539583f9b7179bf42d3.tar.gz qmk_firmware-015c4cf5beab530916b6c539583f9b7179bf42d3.zip | |
Update mcu_selection.mk with current ChibiOS path (#14909)
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/mcu_selection.mk | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk index f7eaeec8a..3b86433a8 100644 --- a/quantum/mcu_selection.mk +++ b/quantum/mcu_selection.mk | |||
| @@ -122,7 +122,7 @@ ifneq ($(findstring STM32F042, $(MCU)),) | |||
| 122 | MCU_SERIES = STM32F0xx | 122 | MCU_SERIES = STM32F0xx |
| 123 | 123 | ||
| 124 | # Linker script to use | 124 | # Linker script to use |
| 125 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 125 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 126 | # or <keyboard_dir>/ld/ | 126 | # or <keyboard_dir>/ld/ |
| 127 | MCU_LDSCRIPT ?= STM32F042x6 | 127 | MCU_LDSCRIPT ?= STM32F042x6 |
| 128 | 128 | ||
| @@ -154,7 +154,7 @@ ifneq ($(findstring STM32F072, $(MCU)),) | |||
| 154 | MCU_SERIES = STM32F0xx | 154 | MCU_SERIES = STM32F0xx |
| 155 | 155 | ||
| 156 | # Linker script to use | 156 | # Linker script to use |
| 157 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 157 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 158 | # or <keyboard_dir>/ld/ | 158 | # or <keyboard_dir>/ld/ |
| 159 | MCU_LDSCRIPT ?= STM32F072xB | 159 | MCU_LDSCRIPT ?= STM32F072xB |
| 160 | 160 | ||
| @@ -186,7 +186,7 @@ ifneq ($(findstring STM32F103, $(MCU)),) | |||
| 186 | MCU_SERIES = STM32F1xx | 186 | MCU_SERIES = STM32F1xx |
| 187 | 187 | ||
| 188 | # Linker script to use | 188 | # Linker script to use |
| 189 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 189 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 190 | # or <keyboard_dir>/ld/ | 190 | # or <keyboard_dir>/ld/ |
| 191 | MCU_LDSCRIPT ?= STM32F103x8 | 191 | MCU_LDSCRIPT ?= STM32F103x8 |
| 192 | 192 | ||
| @@ -218,7 +218,7 @@ ifneq ($(findstring STM32F303, $(MCU)),) | |||
| 218 | MCU_SERIES = STM32F3xx | 218 | MCU_SERIES = STM32F3xx |
| 219 | 219 | ||
| 220 | # Linker script to use | 220 | # Linker script to use |
| 221 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 221 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 222 | # or <keyboard_dir>/ld/ | 222 | # or <keyboard_dir>/ld/ |
| 223 | MCU_LDSCRIPT ?= STM32F303xC | 223 | MCU_LDSCRIPT ?= STM32F303xC |
| 224 | 224 | ||
| @@ -250,7 +250,7 @@ ifneq ($(findstring STM32F401, $(MCU)),) | |||
| 250 | MCU_SERIES = STM32F4xx | 250 | MCU_SERIES = STM32F4xx |
| 251 | 251 | ||
| 252 | # Linker script to use | 252 | # Linker script to use |
| 253 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 253 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 254 | # or <keyboard_dir>/ld/ | 254 | # or <keyboard_dir>/ld/ |
| 255 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) | 255 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) |
| 256 | MCU_LDSCRIPT ?= STM32F401xC_tinyuf2 | 256 | MCU_LDSCRIPT ?= STM32F401xC_tinyuf2 |
| @@ -287,7 +287,7 @@ ifneq ($(findstring STM32F407, $(MCU)),) | |||
| 287 | MCU_SERIES = STM32F4xx | 287 | MCU_SERIES = STM32F4xx |
| 288 | 288 | ||
| 289 | # Linker script to use | 289 | # Linker script to use |
| 290 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 290 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 291 | # or <keyboard_dir>/ld/ | 291 | # or <keyboard_dir>/ld/ |
| 292 | MCU_LDSCRIPT ?= STM32F407xE | 292 | MCU_LDSCRIPT ?= STM32F407xE |
| 293 | 293 | ||
| @@ -319,7 +319,7 @@ ifneq ($(findstring STM32F411, $(MCU)),) | |||
| 319 | MCU_SERIES = STM32F4xx | 319 | MCU_SERIES = STM32F4xx |
| 320 | 320 | ||
| 321 | # Linker script to use | 321 | # Linker script to use |
| 322 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 322 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 323 | # or <keyboard_dir>/ld/ | 323 | # or <keyboard_dir>/ld/ |
| 324 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) | 324 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) |
| 325 | MCU_LDSCRIPT ?= STM32F411xE_tinyuf2 | 325 | MCU_LDSCRIPT ?= STM32F411xE_tinyuf2 |
| @@ -356,8 +356,7 @@ ifneq ($(findstring STM32F446, $(MCU)),) | |||
| 356 | MCU_SERIES = STM32F4xx | 356 | MCU_SERIES = STM32F4xx |
| 357 | 357 | ||
| 358 | # Linker script to use | 358 | # Linker script to use |
| 359 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 359 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 360 | # or <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ | ||
| 361 | # or <keyboard_dir>/ld/ | 360 | # or <keyboard_dir>/ld/ |
| 362 | MCU_LDSCRIPT ?= STM32F446xE | 361 | MCU_LDSCRIPT ?= STM32F446xE |
| 363 | 362 | ||
| @@ -386,7 +385,7 @@ ifneq ($(findstring STM32G431, $(MCU)),) | |||
| 386 | MCU_SERIES = STM32G4xx | 385 | MCU_SERIES = STM32G4xx |
| 387 | 386 | ||
| 388 | # Linker script to use | 387 | # Linker script to use |
| 389 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 388 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 390 | # or <keyboard_dir>/ld/ | 389 | # or <keyboard_dir>/ld/ |
| 391 | MCU_LDSCRIPT ?= STM32G431xB | 390 | MCU_LDSCRIPT ?= STM32G431xB |
| 392 | 391 | ||
| @@ -418,7 +417,7 @@ ifneq ($(findstring STM32G474, $(MCU)),) | |||
| 418 | MCU_SERIES = STM32G4xx | 417 | MCU_SERIES = STM32G4xx |
| 419 | 418 | ||
| 420 | # Linker script to use | 419 | # Linker script to use |
| 421 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 420 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 422 | # or <keyboard_dir>/ld/ | 421 | # or <keyboard_dir>/ld/ |
| 423 | MCU_LDSCRIPT ?= STM32G474xE | 422 | MCU_LDSCRIPT ?= STM32G474xE |
| 424 | 423 | ||
| @@ -450,7 +449,7 @@ ifneq (,$(filter $(MCU),STM32L433 STM32L443)) | |||
| 450 | MCU_SERIES = STM32L4xx | 449 | MCU_SERIES = STM32L4xx |
| 451 | 450 | ||
| 452 | # Linker script to use | 451 | # Linker script to use |
| 453 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 452 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 454 | # or <keyboard_dir>/ld/ | 453 | # or <keyboard_dir>/ld/ |
| 455 | MCU_LDSCRIPT ?= STM32L432xC | 454 | MCU_LDSCRIPT ?= STM32L432xC |
| 456 | 455 | ||
| @@ -484,7 +483,7 @@ ifneq (,$(filter $(MCU),STM32L412 STM32L422)) | |||
| 484 | MCU_SERIES = STM32L4xx | 483 | MCU_SERIES = STM32L4xx |
| 485 | 484 | ||
| 486 | # Linker script to use | 485 | # Linker script to use |
| 487 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 486 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 488 | # or <keyboard_dir>/ld/ | 487 | # or <keyboard_dir>/ld/ |
| 489 | MCU_LDSCRIPT ?= STM32L412xB | 488 | MCU_LDSCRIPT ?= STM32L412xB |
| 490 | 489 | ||
