提交 c2c2b89f 编写于 作者: H Hao Zhu

修复链接文件错误

在更改后系统无法正常运行,现恢复到之前版本
上级 e489c753
...@@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000; ...@@ -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__ = 0x080FFFFF; define symbol __ICFEDIT_region_ROM_end__ = 0x080FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2007FFFF; define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF;
/*-Sizes-*/ /*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x0400; define symbol __ICFEDIT_size_cstack__ = 0x0400;
define symbol __ICFEDIT_size_heap__ = 0x0000; define symbol __ICFEDIT_size_heap__ = 0x0000;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
MEMORY MEMORY
{ {
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 1024k /* 1024KB flash */ 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) ENTRY(Reset_Handler)
_system_stack_size = 0x200; _system_stack_size = 0x200;
......
...@@ -8,7 +8,7 @@ LR_IROM1 0x08000000 0x00100000 { ; load region size_region ...@@ -8,7 +8,7 @@ LR_IROM1 0x08000000 0x00100000 { ; load region size_region
*(InRoot$$Sections) *(InRoot$$Sections)
.ANY (+RO) .ANY (+RO)
} }
RW_IRAM1 0x2000000 0x00080000 { ; RW data RW_IRAM1 0x20020000 0x00060000 { ; RW data
.ANY (+RW +ZI) .ANY (+RW +ZI)
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册