From 5f8cb1635e9e5f3bfb0f9ec25f2f74726bae9d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C5=BDaitl=C3=ADk?= Date: Wed, 17 Nov 2021 20:58:18 +0100 Subject: [PATCH] Changed the EEPROM end address to fit the new MCU (it is twice as big). --- fw/Core/Inc/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/Core/Inc/config.h b/fw/Core/Inc/config.h index c512299..7ba265b 100644 --- a/fw/Core/Inc/config.h +++ b/fw/Core/Inc/config.h @@ -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)