fix: align rd target memory and startup settings
This commit is contained in:
+4
-5
@@ -16,13 +16,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Flash configuration for STM32F103R8 (64KB Flash) */
|
||||
/* Flash configuration for the current STM32F103RDT6 target (384KB Flash). */
|
||||
#define FLASH_PARAM_PAGE_SIZE 1024 /* 1KB per page for STM32F103 */
|
||||
#define FLASH_PARAM_START_ADDR 0x0800FC00 /* Last 1KB of 64KB Flash */
|
||||
#define FLASH_PARAM_END_ADDR 0x08010000 /* End of Flash */
|
||||
#define FLASH_PARAM_START_ADDR 0x0805FC00 /* Last 1KB page of 384KB Flash */
|
||||
#define FLASH_PARAM_END_ADDR 0x08060000 /* End of 384KB Flash */
|
||||
|
||||
/* For STM32F103RC (256KB), use: 0x0803FC00 */
|
||||
/* For STM32F103RB (128KB), use: 0x0801FC00 */
|
||||
/* Historical reference: STM32F103RCT6 would use 0x0803FC00 as its last page. */
|
||||
|
||||
/**
|
||||
* @brief Initialize Flash parameter storage
|
||||
|
||||
Reference in New Issue
Block a user