Skip to content

Commit f6dea1e

Browse files
committed
added CCMRAM definitions
1 parent d872cb1 commit f6dea1e

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

STM32F4/variants/generic_f407v/ld/common.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,15 @@ SECTIONS
183183
} > REGION_BSS
184184

185185
/*
186+
* .ccmram
187+
*/
188+
.ccmram (NOLOAD):
189+
{
190+
. = ALIGN(8);
191+
*(.ccmram .ccmram.*)
192+
} > ccmram
193+
194+
/*
186195
* Debugging sections
187196
*/
188197
.stab 0 (NOLOAD) : { *(.stab) }

STM32F4/variants/generic_f407v/ld/jtag.ld

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
MEMORY
77
{
8-
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
9-
rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
8+
ccmram (rw): ORIGIN = 0x10000000, LENGTH = 64K
9+
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
10+
rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
1011
}
1112

1213
/* GROUP(libcs3_stm32_high_density.a) */

0 commit comments

Comments
 (0)