[Cryptech-Commits] [sw/stm32] 04/06: Add __end symbols for CCMRAM and SDRAM sections.

git at cryptech.is git at cryptech.is
Mon Jun 13 20:55:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

commit 1cb09aab17066f72c6f439e23741bcd23c8408de
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Mon Jun 13 15:08:14 2016 -0400

    Add __end symbols for CCMRAM and SDRAM sections.
    
    This lets us, say, use these sections for stack or heap.
---
 .../TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/STM32F429BI.ld          | 6 ++++++
 1 file changed, 6 insertions(+)

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);



More information about the Commits mailing list