aboutsummaryrefslogtreecommitdiff
path: root/libraries/mbed/targets/cmsis/TARGET_STM
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-13 15:08:14 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-13 15:08:14 -0400
commit1cb09aab17066f72c6f439e23741bcd23c8408de (patch)
tree4a0d40a378ae3f8009e76cce8ecf8708f568256b /libraries/mbed/targets/cmsis/TARGET_STM
parent6d51768a00ffcc013134056098e1480420da9eb7 (diff)
Add __end symbols for CCMRAM and SDRAM sections.
This lets us, say, use these sections for stack or heap.
Diffstat (limited to 'libraries/mbed/targets/cmsis/TARGET_STM')
-rw-r--r--libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld
index cc6dc4d..29ddfcf 100644
--- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld
+++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld
@@ -138,6 +138,8 @@ SECTIONS
_eccmram = .;
} >CCMRAM AT> FLASH
+ __end_ccmram = ORIGIN(CCMRAM) + LENGTH(CCMRAM);
+
.sdram1 :
{
. = ALIGN(4);
@@ -149,6 +151,8 @@ SECTIONS
_esdram1 = .;
} >SDRAM1
+ __end_sdram1 = ORIGIN(SDRAM1) + LENGTH(SDRAM1);
+
.sdram2 :
{
. = ALIGN(4);
@@ -160,6 +164,8 @@ SECTIONS
_esdram2 = .;
} >SDRAM2
+ __end_sdram2 = ORIGIN(SDRAM2) + LENGTH(SDRAM2);
+
.bss :
{
. = ALIGN(4);