aboutsummaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorPath Nirvana <pathnirvana@gmail.com>2021-08-24 05:05:10 +0700
committerGitHub <noreply@github.com>2021-08-24 08:05:10 +1000
commitf314705921c9c316e69cfb6767aba8f0570c7012 (patch)
tree88f11a52ed1a2c31321877e91d0ac94b6398306e /quantum
parent718f0a2482ab821df141a9985d1eb31a6fe6aed9 (diff)
downloadqmk_firmware-f314705921c9c316e69cfb6767aba8f0570c7012.tar.gz
qmk_firmware-f314705921c9c316e69cfb6767aba8f0570c7012.zip
adding uf2 flash support for blackpill 401 (#13968)
* adding uf2 flash support for blackpill 401 * forgot to add blackpill to keyboard header file * making changes requested by drashna * fixing tzarc s comments * removing the keyboard * undo the change to dactyl_manuform.h
Diffstat (limited to 'quantum')
-rw-r--r--quantum/mcu_selection.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk
index dc441d27b..f7eaeec8a 100644
--- a/quantum/mcu_selection.mk
+++ b/quantum/mcu_selection.mk
@@ -252,7 +252,12 @@ ifneq ($(findstring STM32F401, $(MCU)),)
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/ports/ARMCMx/compilers/GCC/ld/
254 # or <keyboard_dir>/ld/ 254 # or <keyboard_dir>/ld/
255 MCU_LDSCRIPT ?= STM32F401xC 255 ifeq ($(strip $(BOOTLOADER)), tinyuf2)
256 MCU_LDSCRIPT ?= STM32F401xC_tinyuf2
257 FIRMWARE_FORMAT ?= uf2
258 else
259 MCU_LDSCRIPT ?= STM32F401xC
260 endif
256 261
257 # Startup code to use 262 # Startup code to use
258 # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ 263 # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/