|
@@ -134,7 +134,7 @@ SECTIONS
|
134
|
134
|
_sidata = LOADADDR(.data);
|
135
|
135
|
|
136
|
136
|
/* Initialized data sections goes into RAM, load LMA copy after code */
|
137
|
|
- .data :
|
|
137
|
+ .data :
|
138
|
138
|
{
|
139
|
139
|
. = ALIGN(4);
|
140
|
140
|
_sdata = .; /* create a global symbol at data start */
|
|
@@ -147,24 +147,24 @@ SECTIONS
|
147
|
147
|
|
148
|
148
|
_siccmram = LOADADDR(.ccmram);
|
149
|
149
|
|
150
|
|
- /* CCM-RAM section
|
151
|
|
- *
|
152
|
|
- * IMPORTANT NOTE!
|
153
|
|
- * If initialized variables will be placed in this section,
|
154
|
|
- * the startup code needs to be modified to copy the init-values.
|
155
|
|
- */
|
|
150
|
+ /* CCM-RAM section
|
|
151
|
+ *
|
|
152
|
+ * IMPORTANT NOTE!
|
|
153
|
+ * If initialized variables will be placed in this section,
|
|
154
|
+ * the startup code needs to be modified to copy the init-values.
|
|
155
|
+ */
|
156
|
156
|
.ccmram :
|
157
|
157
|
{
|
158
|
158
|
. = ALIGN(4);
|
159
|
159
|
_sccmram = .; /* create a global symbol at ccmram start */
|
160
|
160
|
*(.ccmram)
|
161
|
161
|
*(.ccmram*)
|
162
|
|
-
|
|
162
|
+
|
163
|
163
|
. = ALIGN(4);
|
164
|
164
|
_eccmram = .; /* create a global symbol at ccmram end */
|
165
|
165
|
} >CCMRAM AT> FLASH
|
166
|
166
|
|
167
|
|
-
|
|
167
|
+
|
168
|
168
|
/* Uninitialized data section */
|
169
|
169
|
. = ALIGN(4);
|
170
|
170
|
.bss :
|
|
@@ -192,7 +192,6 @@ SECTIONS
|
192
|
192
|
. = ALIGN(4);
|
193
|
193
|
} >RAM
|
194
|
194
|
|
195
|
|
-
|
196
|
195
|
|
197
|
196
|
/* Remove information from the standard libraries */
|
198
|
197
|
/DISCARD/ :
|