mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
Fix eeprom for Durgod boards (#14324)
This commit is contained in:
parent
1e1be4c229
commit
1a494da288
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
# ifndef FEE_PAGE_COUNT
|
# ifndef FEE_PAGE_COUNT
|
||||||
# define FEE_PAGE_COUNT 2 // How many pages are used
|
# define FEE_PAGE_COUNT 2 // How many pages are used
|
||||||
# endif
|
# endif
|
||||||
# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB)
|
# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) || defined(STM32F070xB)
|
||||||
# ifndef FEE_PAGE_SIZE
|
# ifndef FEE_PAGE_SIZE
|
||||||
# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte
|
# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte
|
||||||
# endif
|
# endif
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
#if !defined(FEE_MCU_FLASH_SIZE)
|
#if !defined(FEE_MCU_FLASH_SIZE)
|
||||||
# if defined(STM32F042x6)
|
# if defined(STM32F042x6)
|
||||||
# define FEE_MCU_FLASH_SIZE 32 // Size in Kb
|
# define FEE_MCU_FLASH_SIZE 32 // Size in Kb
|
||||||
# elif defined(STM32F103xB) || defined(STM32F072xB)
|
# elif defined(STM32F103xB) || defined(STM32F072xB) || defined(STM32F070xB)
|
||||||
# define FEE_MCU_FLASH_SIZE 128 // Size in Kb
|
# define FEE_MCU_FLASH_SIZE 128 // Size in Kb
|
||||||
# elif defined(STM32F303xC)
|
# elif defined(STM32F303xC)
|
||||||
# define FEE_MCU_FLASH_SIZE 256 // Size in Kb
|
# define FEE_MCU_FLASH_SIZE 256 // Size in Kb
|
||||||
|
|
Loading…
Reference in a new issue