修复链接文件错误

在更改后系统无法正常运行,现恢复到之前版本
This commit is contained in:
Hao Zhu 2019-01-15 23:04:27 +08:00
parent e489c75347
commit c2c2b89f6b
3 changed files with 3 additions and 3 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_end__ = 0x080FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2007FFFF;
define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x0400;
define symbol __ICFEDIT_size_heap__ = 0x0000;

View File

@ -7,7 +7,7 @@
MEMORY
{
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 1024k /* 1024KB flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 512k /* 512K sram */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;

View File

@ -8,7 +8,7 @@ LR_IROM1 0x08000000 0x00100000 { ; load region size_region
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x2000000 0x00080000 { ; RW data
RW_IRAM1 0x20020000 0x00060000 { ; RW data
.ANY (+RW +ZI)
}
}