mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 08:08:25 +00:00
🐛 Fix Flash EEPROM for STM32G0B1CB (#25469)
This commit is contained in:
parent
dee4ef09f8
commit
33ed748004
2 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
#define FLASH_EEPROM_EMULATION
|
#define FLASH_EEPROM_EMULATION
|
||||||
#endif
|
#endif
|
||||||
#define EEPROM_PAGE_SIZE (0x800UL) // 2K
|
#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
|
#define MARLIN_EEPROM_SIZE EEPROM_PAGE_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -155,6 +155,8 @@
|
||||||
#define SERIAL_UART_INSTANCE 4
|
#define SERIAL_UART_INSTANCE 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define FLASH_BANK_NUMBER FLASH_BANK_1
|
||||||
|
|
||||||
// Default pin used for generic 'Serial' instance
|
// Default pin used for generic 'Serial' instance
|
||||||
// Mandatory for Firmata
|
// Mandatory for Firmata
|
||||||
#ifndef PIN_SERIAL_RX
|
#ifndef PIN_SERIAL_RX
|
||||||
|
|
Loading…
Reference in a new issue