🐛 Fix Flash EEPROM for STM32G0B1CB (#25469)

This commit is contained in:
alextrical
2023-03-05 22:28:50 +00:00
committed by Sven Soost
parent 9b7acf8f40
commit 094c9c38e4
2 changed files with 3 additions and 1 deletions

View File

@@ -44,7 +44,7 @@
#define FLASH_EEPROM_EMULATION
#endif
#define EEPROM_PAGE_SIZE (0x800UL) // 2K
#define EEPROM_START_ADDRESS (0x0801F800UL)
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 1UL)
#define MARLIN_EEPROM_SIZE EEPROM_PAGE_SIZE
#endif