fix(air links): 对应厂家手册将RAM容量改为96kb

Signed-off-by: 蒙蒙plus <chengmeng_2@outlook.com>
This commit is contained in:
蒙蒙plus 2023-09-07 17:07:08 +00:00 committed by Meco Man
parent b12e6aa961
commit dfc8994ea2
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF; 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__ = 0x20017FFF;
/*-Sizes-*/ /*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x0400; define symbol __ICFEDIT_size_cstack__ = 0x0400;
define symbol __ICFEDIT_size_heap__ = 0x000; define symbol __ICFEDIT_size_heap__ = 0x000;

View File

@ -1,12 +1,12 @@
/* /*
* linker script for STM32F10x with GNU ld * linker script for air32F10x with GNU ld
*/ */
/* 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 = 128k /* 128KB flash */ ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 128KB flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */ RAM (rw) : ORIGIN = 0x20000000, LENGTH = 96k /* 96K sram */
} }
ENTRY(Reset_Handler) ENTRY(Reset_Handler)
_system_stack_size = 0x400; _system_stack_size = 0x400;

View File

@ -8,7 +8,7 @@ LR_IROM1 0x08000000 0x00020000 { ; load region size_region
*(InRoot$$Sections) *(InRoot$$Sections)
.ANY (+RO) .ANY (+RO)
} }
RW_IRAM1 0x20000000 0x00008000 { ; RW data RW_IRAM1 0x20000000 0x00018000 { ; RW data
.ANY (+RW +ZI) .ANY (+RW +ZI)
} }
} }