fix: align rd target memory and startup settings

This commit is contained in:
2026-04-20 08:11:49 +08:00
parent 3f91481d00
commit 77da670f5c
6 changed files with 29 additions and 30 deletions
+4 -5
View File
@@ -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