Refactor. Add debug code. Use %u for unsigned. Use volatile pointer instead of memory storage.
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
#define AUTH_WORD_ADDR (APPLICATION_END_ADDR)
|
||||
|
||||
#define LAST_ADDR (APPLICATION_END_ADDR-2048 + 8)
|
||||
#define VERSION_ADDR (AUTH_WORD_ADDR-8)
|
||||
#define NEW_FW_VERSION_ADDR (AUTH_WORD_ADDR-8)
|
||||
#define BOOT_VERSION_PAGE (APPLICATION_END_PAGE)
|
||||
#define BOOT_VERSION_ADDR (0x08000000 + BOOT_VERSION_PAGE*FLASH_PAGE_SIZE)
|
||||
#define LAST_PAGE (APPLICATION_END_PAGE-1)
|
||||
|
Reference in New Issue
Block a user