aboutsummaryrefslogtreecommitdiff
path: root/quantum/mcu_selection.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-16 02:58:48 +0100
committerGitHub <noreply@github.com>2021-10-16 02:58:48 +0100
commit83e978da1fba4cfbb76dc22e05aa656dba8c1c3e (patch)
tree1413d3703ef5bc6000ce176b7464af83c68ab829 /quantum/mcu_selection.mk
parent5c6a8f599fbd4a083548503e88aa7f969a5b753b (diff)
downloadqmk_firmware-83e978da1fba4cfbb76dc22e05aa656dba8c1c3e.tar.gz
qmk_firmware-83e978da1fba4cfbb76dc22e05aa656dba8c1c3e.zip
Further tidy up of STM32 eeprom emulation (#14591)
Diffstat (limited to 'quantum/mcu_selection.mk')
-rw-r--r--quantum/mcu_selection.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk
index 92e3a7c92..622b4a82f 100644
--- a/quantum/mcu_selection.mk
+++ b/quantum/mcu_selection.mk
@@ -138,6 +138,11 @@ ifneq ($(findstring STM32F042, $(MCU)),)
138 138
139 # UF2 settings 139 # UF2 settings
140 UF2_FAMILY ?= STM32F0 140 UF2_FAMILY ?= STM32F0
141
142 # Stack sizes: Since this chip has limited RAM capacity, the stack area needs to be reduced.
143 # This ensures that the EEPROM page buffer fits into RAM
144 USE_PROCESS_STACKSIZE = 0x600
145 USE_EXCEPTIONS_STACKSIZE = 0x300
141endif 146endif
142 147
143ifneq ($(findstring STM32F072, $(MCU)),) 148ifneq ($(findstring STM32F072, $(MCU)),)