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.
This commit is contained in:
Joost Rijneveld 2015-10-22 15:21:00 +02:00 committed by Karl Palsson
parent e6f267e103
commit 74cd99343b

View File

@ -19,13 +19,14 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>. * along with this library. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* Linker script for the STM32F405RGT6 chip (1024K flash, 128K RAM). */ /* Linker script for the STM32F40xxG chip (1024K flash, 128K RAM). */
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
ccm (rwx) : ORIGIN = 0x10000000, LENGTH = 64K
} }
/* Include the common ld script. */ /* Include the common ld script. */