Skip to content

Commit c2c2b89

Browse files
committed
修复链接文件错误
在更改后系统无法正常运行,现恢复到之前版本
1 parent e489c75 commit c2c2b89

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bsp/stm32/stm32f767-fire-challenger/board/linker_scripts/link.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000;
77
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
88
define symbol __ICFEDIT_region_ROM_end__ = 0x080FFFFF;
99
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
10-
define symbol __ICFEDIT_region_RAM_end__ = 0x2007FFFF;
10+
define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF;
1111
/*-Sizes-*/
1212
define symbol __ICFEDIT_size_cstack__ = 0x0400;
1313
define symbol __ICFEDIT_size_heap__ = 0x0000;

bsp/stm32/stm32f767-fire-challenger/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
MEMORY
88
{
99
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 1024k /* 1024KB flash */
10-
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 512k /* 512K sram */
10+
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */
1111
}
1212
ENTRY(Reset_Handler)
1313
_system_stack_size = 0x200;

bsp/stm32/stm32f767-fire-challenger/board/linker_scripts/link.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LR_IROM1 0x08000000 0x00100000 { ; load region size_region
88
*(InRoot$$Sections)
99
.ANY (+RO)
1010
}
11-
RW_IRAM1 0x2000000 0x00080000 { ; RW data
11+
RW_IRAM1 0x20020000 0x00060000 { ; RW data
1212
.ANY (+RW +ZI)
1313
}
1414
}

0 commit comments

Comments
 (0)