Changed the EEPROM end address to fit the new MCU (it is twice as big).

This commit is contained in:
David Žaitlík 2021-11-17 20:58:18 +01:00
parent 555861e27c
commit 5f8cb1635e

View File

@ -74,7 +74,7 @@ config_read(&config);
#define EEPROM_EMPTY_BYTE 0x00
#define EEPROM_ADDR_START ((uint32_t)0x08080000)
#define EEPROM_ADDR_END ((uint32_t)0x080801FF)
#define EEPROM_ADDR_END ((uint32_t)0x080803FF)
#define CONFIG_EEPROM_ADDR_MODBUS_ADDR EEPROM_ADDR_START
#define CONFIG_EEPROM_ADDR_BAUDRATE_INDEX (CONFIG_EEPROM_ADDR_MODBUS_ADDR + CONFIG_MODBUS_ADDR_LENGTH)