From 74cd99343b3331301eba70e34c1e724f30e7f41f Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Thu, 22 Oct 2015 15:21:00 +0200 Subject: [PATCH] stm32f4: linker scripts: add CCM to F405 The filename has always been wrong, "6" is a temperature grade, but f405 and f407 are in the same datasheet, and all have the 64k CCM. Add it to the linker script. --- lib/stm32/f4/stm32f405x6.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stm32/f4/stm32f405x6.ld b/lib/stm32/f4/stm32f405x6.ld index a8733f3c..7ce3932e 100644 --- a/lib/stm32/f4/stm32f405x6.ld +++ b/lib/stm32/f4/stm32f405x6.ld @@ -19,13 +19,14 @@ * along with this library. If not, see . */ -/* Linker script for the STM32F405RGT6 chip (1024K flash, 128K RAM). */ +/* Linker script for the STM32F40xxG chip (1024K flash, 128K RAM). */ /* Define memory regions. */ MEMORY { rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K + ccm (rwx) : ORIGIN = 0x10000000, LENGTH = 64K } /* Include the common ld script. */