diff options
author | Joel Challis <git@zvecr.com> | 2021-10-16 02:58:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 02:58:48 +0100 |
commit | 83e978da1fba4cfbb76dc22e05aa656dba8c1c3e (patch) | |
tree | 1413d3703ef5bc6000ce176b7464af83c68ab829 /quantum/mcu_selection.mk | |
parent | 5c6a8f599fbd4a083548503e88aa7f969a5b753b (diff) |
Further tidy up of STM32 eeprom emulation (#14591)
Diffstat (limited to 'quantum/mcu_selection.mk')
-rw-r--r-- | quantum/mcu_selection.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk index 92e3a7c923..622b4a82f8 100644 --- a/quantum/mcu_selection.mk +++ b/quantum/mcu_selection.mk @@ -138,6 +138,11 @@ ifneq ($(findstring STM32F042, $(MCU)),) # UF2 settings UF2_FAMILY ?= STM32F0 + + # Stack sizes: Since this chip has limited RAM capacity, the stack area needs to be reduced. + # This ensures that the EEPROM page buffer fits into RAM + USE_PROCESS_STACKSIZE = 0x600 + USE_EXCEPTIONS_STACKSIZE = 0x300 endif ifneq ($(findstring STM32F072, $(MCU)),) |