diff options
| author | cedar-renjun <[email protected]> | 2015-10-17 21:01:41 +0800 |
|---|---|---|
| committer | cedar-renjun <[email protected]> | 2015-10-17 21:01:41 +0800 |
| commit | f19d4381e49bfc894bbbe849198656f85d1fe15e (patch) | |
| tree | 4a3e5bb7e0c728e03c922ff90ba59894b791ef1c | |
| parent | 11d984c52d5e7a3d10057c910ea598c8dffd533a (diff) | |
Update stm32f40x_flash.icf
Export the end address of ram, to avoid hard-code heap size in application
| -rw-r--r-- | bsp/stm32f40x/stm32f40x_flash.icf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/stm32f40x/stm32f40x_flash.icf b/bsp/stm32f40x/stm32f40x_flash.icf index 8888d0e081..204f459388 100644 --- a/bsp/stm32f40x/stm32f40x_flash.icf +++ b/bsp/stm32f40x/stm32f40x_flash.icf @@ -8,6 +8,9 @@ define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 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-*/ define symbol __ICFEDIT_size_cstack__ = 0x200; define symbol __ICFEDIT_size_heap__ = 0x000; |
