summaryrefslogtreecommitdiff
path: root/tmk_core/common/chibios/flash_stm32.c
diff options
context:
space:
mode:
authorAdrian <elagil@users.noreply.github.com>2020-10-22 12:05:01 +0200
committerGitHub <noreply@github.com>2020-10-22 21:05:01 +1100
commit120c42255baecb664ae813d58aa3010760f97795 (patch)
treebfa044740e946d05ee1d1017c7a7b65a93830d99 /tmk_core/common/chibios/flash_stm32.c
parentf9853433c140700ce6bfbfba7517e1e0620789d4 (diff)
Added EEPROM emulation for STM32F042x6 series processors (#10685)
* Added STM32F042x6 support for EEPROM emulation * Default to lower stack size on STM32F042 * Moved stack setting * Re-moved stack definition * Removed unnecessary check
Diffstat (limited to 'tmk_core/common/chibios/flash_stm32.c')
-rw-r--r--tmk_core/common/chibios/flash_stm32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/flash_stm32.c b/tmk_core/common/chibios/flash_stm32.c
index e166fc5e6e..e8b3dc4bc9 100644
--- a/tmk_core/common/chibios/flash_stm32.c
+++ b/tmk_core/common/chibios/flash_stm32.c
@@ -25,6 +25,9 @@
#elif defined(EEPROM_EMU_STM32F072xB)
# define STM32F072xB
# include "stm32f0xx.h"
+#elif defined(EEPROM_EMU_STM32F042x6)
+# define STM32F042x6
+# include "stm32f0xx.h"
#else
# error "not implemented."
#endif