File tree Expand file tree Collapse file tree 3 files changed +300722
-300713
lines changed
targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303xC Expand file tree Collapse file tree 3 files changed +300722
-300713
lines changed Original file line number Diff line number Diff line change 37
37
38
38
MEMORY
39
39
{
40
- FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
41
- RAM (rwx) : ORIGIN = MBED_RAM_START + VECTORS_SIZE, LENGTH = MBED_RAM_SIZE - VECTORS_SIZE
40
+ FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
41
+ RAM (rwx) : ORIGIN = MBED_RAM_START + VECTORS_SIZE, LENGTH = MBED_RAM_SIZE - VECTORS_SIZE
42
+ RAM_CCM (rwx) : ORIGIN = MBED_RAM1_START, LENGTH = MBED_RAM1_SIZE
42
43
}
43
44
44
45
/* Linker script to place sections and symbol values. Should be used together
@@ -113,7 +114,7 @@ SECTIONS
113
114
114
115
__etext = .;
115
116
_sidata = .;
116
-
117
+
117
118
.data : AT (__etext)
118
119
{
119
120
__data_start__ = .;
@@ -161,7 +162,7 @@ SECTIONS
161
162
. = ALIGN (32);
162
163
__uninitialized_end = .;
163
164
} > RAM
164
-
165
+
165
166
.bss :
166
167
{
167
168
. = ALIGN (8);
@@ -183,6 +184,14 @@ SECTIONS
183
184
__HeapLimit = .;
184
185
} > RAM
185
186
187
+ .ram_ccm_section (NOLOAD) :
188
+ {
189
+ __ram_ccm_start__ = .;
190
+ *(.RAM_CCM_section)
191
+ . = ORIGIN (RAM_CCM) + LENGTH (RAM_CCM);
192
+ __ram_ccm_end__ = .;
193
+ } >RAM_CCM
194
+
186
195
/* .stack_dummy section doesn't contains any symbols. It is only
187
196
* used for linker to calculate size of stack sections, and assign
188
197
* values to stack symbols later */
Original file line number Diff line number Diff line change 30
30
#endif
31
31
32
32
#if !defined(MBED_RAM_SIZE )
33
- #define MBED_RAM_SIZE 0xc000 // 48 KB
33
+ #define MBED_RAM_SIZE 0xa000 // 40 KB
34
34
#endif
35
35
36
36
#if !defined(MBED_RAM1_START )
You can’t perform that action at this time.
0 commit comments