diff options
| -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 7c4a617af..1251b7a2b 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 | ||
| @@ -159,7 +159,7 @@ ifneq ($(findstring STM32F072, $(MCU)),) | |||
| 159 | MCU_SERIES = STM32F0xx | 159 | MCU_SERIES = STM32F0xx |
| 160 | 160 | ||
| 161 | # Linker script to use | 161 | # Linker script to use |
| 162 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 162 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 163 | # or <keyboard_dir>/ld/ | 163 | # or <keyboard_dir>/ld/ |
| 164 | MCU_LDSCRIPT ?= STM32F072xB | 164 | MCU_LDSCRIPT ?= STM32F072xB |
| 165 | 165 | ||
| @@ -191,7 +191,7 @@ ifneq ($(findstring STM32F103, $(MCU)),) | |||
| 191 | MCU_SERIES = STM32F1xx | 191 | MCU_SERIES = STM32F1xx |
| 192 | 192 | ||
| 193 | # Linker script to use | 193 | # Linker script to use |
| 194 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 194 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 195 | # or <keyboard_dir>/ld/ | 195 | # or <keyboard_dir>/ld/ |
| 196 | MCU_LDSCRIPT ?= STM32F103x8 | 196 | MCU_LDSCRIPT ?= STM32F103x8 |
| 197 | 197 | ||
| @@ -223,7 +223,7 @@ ifneq ($(findstring STM32F303, $(MCU)),) | |||
| 223 | MCU_SERIES = STM32F3xx | 223 | MCU_SERIES = STM32F3xx |
| 224 | 224 | ||
| 225 | # Linker script to use | 225 | # Linker script to use |
| 226 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 226 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 227 | # or <keyboard_dir>/ld/ | 227 | # or <keyboard_dir>/ld/ |
| 228 | MCU_LDSCRIPT ?= STM32F303xC | 228 | MCU_LDSCRIPT ?= STM32F303xC |
| 229 | 229 | ||
| @@ -255,7 +255,7 @@ ifneq ($(findstring STM32F401, $(MCU)),) | |||
| 255 | MCU_SERIES = STM32F4xx | 255 | MCU_SERIES = STM32F4xx |
| 256 | 256 | ||
| 257 | # Linker script to use | 257 | # Linker script to use |
| 258 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 258 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 259 | # or <keyboard_dir>/ld/ | 259 | # or <keyboard_dir>/ld/ |
| 260 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) | 260 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) |
| 261 | MCU_LDSCRIPT ?= STM32F401xC_tinyuf2 | 261 | MCU_LDSCRIPT ?= STM32F401xC_tinyuf2 |
| @@ -324,7 +324,7 @@ ifneq ($(findstring STM32F407, $(MCU)),) | |||
| 324 | MCU_SERIES = STM32F4xx | 324 | MCU_SERIES = STM32F4xx |
| 325 | 325 | ||
| 326 | # Linker script to use | 326 | # Linker script to use |
| 327 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 327 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 328 | # or <keyboard_dir>/ld/ | 328 | # or <keyboard_dir>/ld/ |
| 329 | MCU_LDSCRIPT ?= STM32F407xE | 329 | MCU_LDSCRIPT ?= STM32F407xE |
| 330 | 330 | ||
| @@ -356,7 +356,7 @@ ifneq ($(findstring STM32F411, $(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 <keyboard_dir>/ld/ | 360 | # or <keyboard_dir>/ld/ |
| 361 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) | 361 | ifeq ($(strip $(BOOTLOADER)), tinyuf2) |
| 362 | MCU_LDSCRIPT ?= STM32F411xE_tinyuf2 | 362 | MCU_LDSCRIPT ?= STM32F411xE_tinyuf2 |
| @@ -393,8 +393,7 @@ ifneq ($(findstring STM32F446, $(MCU)),) | |||
| 393 | MCU_SERIES = STM32F4xx | 393 | MCU_SERIES = STM32F4xx |
| 394 | 394 | ||
| 395 | # Linker script to use | 395 | # Linker script to use |
| 396 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 396 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 397 | # or <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ | ||
| 398 | # or <keyboard_dir>/ld/ | 397 | # or <keyboard_dir>/ld/ |
| 399 | MCU_LDSCRIPT ?= STM32F446xE | 398 | MCU_LDSCRIPT ?= STM32F446xE |
| 400 | 399 | ||
| @@ -423,7 +422,7 @@ ifneq ($(findstring STM32G431, $(MCU)),) | |||
| 423 | MCU_SERIES = STM32G4xx | 422 | MCU_SERIES = STM32G4xx |
| 424 | 423 | ||
| 425 | # Linker script to use | 424 | # Linker script to use |
| 426 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 425 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 427 | # or <keyboard_dir>/ld/ | 426 | # or <keyboard_dir>/ld/ |
| 428 | MCU_LDSCRIPT ?= STM32G431xB | 427 | MCU_LDSCRIPT ?= STM32G431xB |
| 429 | 428 | ||
| @@ -455,7 +454,7 @@ ifneq ($(findstring STM32G474, $(MCU)),) | |||
| 455 | MCU_SERIES = STM32G4xx | 454 | MCU_SERIES = STM32G4xx |
| 456 | 455 | ||
| 457 | # Linker script to use | 456 | # Linker script to use |
| 458 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 457 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 459 | # or <keyboard_dir>/ld/ | 458 | # or <keyboard_dir>/ld/ |
| 460 | MCU_LDSCRIPT ?= STM32G474xE | 459 | MCU_LDSCRIPT ?= STM32G474xE |
| 461 | 460 | ||
| @@ -487,7 +486,7 @@ ifneq (,$(filter $(MCU),STM32L433 STM32L443)) | |||
| 487 | MCU_SERIES = STM32L4xx | 486 | MCU_SERIES = STM32L4xx |
| 488 | 487 | ||
| 489 | # Linker script to use | 488 | # Linker script to use |
| 490 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 489 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 491 | # or <keyboard_dir>/ld/ | 490 | # or <keyboard_dir>/ld/ |
| 492 | MCU_LDSCRIPT ?= STM32L432xC | 491 | MCU_LDSCRIPT ?= STM32L432xC |
| 493 | 492 | ||
| @@ -521,7 +520,7 @@ ifneq (,$(filter $(MCU),STM32L412 STM32L422)) | |||
| 521 | MCU_SERIES = STM32L4xx | 520 | MCU_SERIES = STM32L4xx |
| 522 | 521 | ||
| 523 | # Linker script to use | 522 | # Linker script to use |
| 524 | # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | 523 | # - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/ |
| 525 | # or <keyboard_dir>/ld/ | 524 | # or <keyboard_dir>/ld/ |
| 526 | MCU_LDSCRIPT ?= STM32L412xB | 525 | MCU_LDSCRIPT ?= STM32L412xB |
| 527 | 526 | ||
