aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-09-05 23:56:10 +0100
committerGitHub <noreply@github.com>2021-09-05 23:56:10 +0100
commit1a494da288509d162593aaa07f4f9ca36b6b3dbd (patch)
tree28e0cbf75d1e7417cbdbeb4a337db358326878c9 /tmk_core/common
parent1e1be4c229651703ef7c62784b704a859a3d13cf (diff)
downloadqmk_firmware-1a494da288509d162593aaa07f4f9ca36b6b3dbd.tar.gz
qmk_firmware-1a494da288509d162593aaa07f4f9ca36b6b3dbd.zip
Fix eeprom for Durgod boards (#14324)
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/chibios/eeprom_stm32_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/chibios/eeprom_stm32_defs.h b/tmk_core/common/chibios/eeprom_stm32_defs.h
index a775ec201..22b4ab858 100644
--- a/tmk_core/common/chibios/eeprom_stm32_defs.h
+++ b/tmk_core/common/chibios/eeprom_stm32_defs.h
@@ -25,7 +25,7 @@
25# ifndef FEE_PAGE_COUNT 25# ifndef FEE_PAGE_COUNT
26# define FEE_PAGE_COUNT 2 // How many pages are used 26# define FEE_PAGE_COUNT 2 // How many pages are used
27# endif 27# endif
28# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) 28# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) || defined(STM32F070xB)
29# ifndef FEE_PAGE_SIZE 29# ifndef FEE_PAGE_SIZE
30# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte 30# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte
31# endif 31# endif
@@ -38,7 +38,7 @@
38#if !defined(FEE_MCU_FLASH_SIZE) 38#if !defined(FEE_MCU_FLASH_SIZE)
39# if defined(STM32F042x6) 39# if defined(STM32F042x6)
40# define FEE_MCU_FLASH_SIZE 32 // Size in Kb 40# define FEE_MCU_FLASH_SIZE 32 // Size in Kb
41# elif defined(STM32F103xB) || defined(STM32F072xB) 41# elif defined(STM32F103xB) || defined(STM32F072xB) || defined(STM32F070xB)
42# define FEE_MCU_FLASH_SIZE 128 // Size in Kb 42# define FEE_MCU_FLASH_SIZE 128 // Size in Kb
43# elif defined(STM32F303xC) 43# elif defined(STM32F303xC)
44# define FEE_MCU_FLASH_SIZE 256 // Size in Kb 44# define FEE_MCU_FLASH_SIZE 256 // Size in Kb