[bsp/stm32f103-100ask-mini] extend ROM from 64KB to 128KB

This commit is contained in:
Meco Man 2024-06-26 23:48:38 +08:00
parent 28c7522e26
commit eb1d6913b0
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
define symbol __ICFEDIT_intvec_start__ = 0x08000000; define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/ /*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20004FFF; define symbol __ICFEDIT_region_RAM_end__ = 0x20004FFF;
/*-Sizes-*/ /*-Sizes-*/

View File

@ -5,7 +5,7 @@
/* Program Entry, set to mark it as "used" and avoid gc */ /* Program Entry, set to mark it as "used" and avoid gc */
MEMORY MEMORY
{ {
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 64k /* 64KB flash */ ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 64KB flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */ RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */
} }
ENTRY(Reset_Handler) ENTRY(Reset_Handler)

View File

@ -3,7 +3,7 @@
; ************************************************************* ; *************************************************************
LR_IROM1 0x08000000 0x00010000 { ; load region size_region LR_IROM1 0x08000000 0x00010000 { ; load region size_region
ER_IROM1 0x08000000 0x00010000 { ; load address = execution address ER_IROM1 0x08000000 0x00020000 { ; load address = execution address
*.o (RESET, +First) *.o (RESET, +First)
*(InRoot$$Sections) *(InRoot$$Sections)
.ANY (+RO) .ANY (+RO)