From d64583c7a8d1aca893c6988482bb12dbfbd247b1 Mon Sep 17 00:00:00 2001 From: Rene Hopf Date: Tue, 1 Dec 2015 00:08:30 +0100 Subject: [PATCH] linker script --- stm32_flash.ld | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stm32_flash.ld b/stm32_flash.ld index d9f708ad..b0e45d9e 100644 --- a/stm32_flash.ld +++ b/stm32_flash.ld @@ -47,7 +47,10 @@ MEMORY PARAM0 (rx) : ORIGIN = 0x08008000, LENGTH = 16K/* sector 2 */ PARAM1 (rx) : ORIGIN = 0x0800C000, LENGTH = 16K/* sector 3 */ FLASH (rx) : ORIGIN = 0x08010000, LENGTH = 960K/* sector 4-11 */ - RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K + CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64k + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 112K/*SRAM1*/ + RAM2(xrw) : ORIGIN = 0x2001C000, LENGTH = 16K/*SRAM2*/ + BKP(xrw) : ORIGIN = 0x40024000, LENGTH = 4K/*backup bkp sram*/ MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K }