|
@@ -235,8 +235,8 @@ allow to react more quickly */
|
|
|
|
|
|
/* Constants necessary for Flash CRC calculation (last block - 64 bytes - separated for CRC) */
|
|
|
#define ROM_START ((uint8_t *)(&__ICFEDIT_region_ROM_start__))
|
|
|
- #define ROM_END ((uint8_t *)0x0803DFEF) //((uint32_t *)(&__ICFEDIT_region_ROM_end__))
|
|
|
- #define ROM_SIZE (0x0803DFEF - 0x08003000 + 1u)
|
|
|
+ #define ROM_END ((uint8_t *)0x0803CFFF) //0x0803DFEF //((uint32_t *)(&__ICFEDIT_region_ROM_end__))
|
|
|
+ #define ROM_SIZE (0x0803CFFF - 0x08003000 + 1u)
|
|
|
|
|
|
#define STEPS_NUMBER ((uint32_t)ROM_SIZE / 16u)//64u)
|
|
|
#define ROM_SIZEinWORDS (uint32_t) (ROM_SIZE / 4u)
|