aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-21 07:50:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-21 07:50:27 +0000
commit51a3a6904a3fa53370e4d29ef75c0757c533e9ab (patch)
tree5874baa3b717b35bddc7f14fab4ebec5e0545cce
parent880896e7833b0efe0e871b331fe12efd43c82d2e (diff)
downloadChibiOS-51a3a6904a3fa53370e4d29ef75c0757c533e9ab.tar.gz
ChibiOS-51a3a6904a3fa53370e4d29ef75c0757c533e9ab.tar.bz2
ChibiOS-51a3a6904a3fa53370e4d29ef75c0757c533e9ab.zip
Improved CCM handling for F4 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6848 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG_CCM.ld4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG_CCM.ld b/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG_CCM.ld
index 06541e185..30019b7a9 100644
--- a/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG_CCM.ld
+++ b/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG_CCM.ld
@@ -125,6 +125,10 @@ SECTIONS
{
PROVIDE(_cmm_start = .);
. = ALIGN(4);
+ *(.ccm)
+ . = ALIGN(4);
+ *(.ccm.*)
+ . = ALIGN(4);
*(.bss.mainthread.*)
. = ALIGN(4);
*(.bss._idle_thread_wa)