4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 17:13:32 +08:00

Update stm32f40x_flash.icf

Export the end address of ram, to avoid hard-code heap size in application
This commit is contained in:
cedar-renjun 2015-10-17 21:01:41 +08:00
parent 11d984c52d
commit f19d4381e4

View File

@ -8,6 +8,9 @@ define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF; /*STM32 F446RE*/ define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF; /*STM32 F446RE*/
/*Export the end address of ram, to avoid hard-code heap size in application*/
export symbol __ICFEDIT_region_RAM_end__;
/*-Sizes-*/ /*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x200; define symbol __ICFEDIT_size_cstack__ = 0x200;
define symbol __ICFEDIT_size_heap__ = 0x000; define symbol __ICFEDIT_size_heap__ = 0x000;