Skip to content

Commit

Permalink
Put user flash at ADDR_FLASH_PAGE_63 instead of ADDR_FLASH_PAGE_62
Browse files Browse the repository at this point in the history
  • Loading branch information
AxxAxx committed Jan 2, 2025
1 parent 9f9fd94 commit 83eb1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AxxSolder_firmware/Core/Inc/flash.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool FlashWrite(Flash_values *flash_values);
#define ADDR_FLASH_PAGE_63 ((uint32_t)0x0801F800) /* Base @ of Page 63, 2 Kbytes */


#define FLASH_USER_START_ADDR ((uint32_t)ADDR_FLASH_PAGE_62) /* Start @ of user Flash area */
#define FLASH_USER_START_ADDR ((uint32_t)ADDR_FLASH_PAGE_63) /* Start @ of user Flash area */
#define FLASH_USER_END_ADDR (ADDR_FLASH_PAGE_63 + FLASH_PAGE_SIZE - 1) /* End @ of user Flash area */

/* Function prototypes -------------------------------------------------------*/
Expand Down

0 comments on commit 83eb1c5

Please sign in to comment.