@@ -53,11 +53,11 @@ STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
53
53
/* Specify the memory areas */
54
54
MEMORY
55
55
{
56
- m_boot_data (RX) : ORIGIN = 0x70000000 , LENGTH = 0x00001000
57
- m_image_vertor_table (RX) : ORIGIN = 0x70001000 , LENGTH = 0x00001000
56
+ m_boot_data (RX) : ORIGIN = 0x60000000 , LENGTH = 0x00001000
57
+ m_image_vertor_table (RX) : ORIGIN = 0x60001000 , LENGTH = 0x00001000
58
58
59
- m_interrupts (RX) : ORIGIN = 0x70002000 , LENGTH = 0x00000400
60
- m_text (RX) : ORIGIN = 0x70002400 , LENGTH = 0x003FDC00
59
+ m_interrupts (RX) : ORIGIN = 0x60002000 , LENGTH = 0x00000400
60
+ m_text (RX) : ORIGIN = 0x60002400 , LENGTH = 0x003FDC00
61
61
62
62
m_itcm (RW) : ORIGIN = 0x00000000, LENGTH = 0x00020000
63
63
m_dtcm (RW) : ORIGIN = 0x20000000, LENGTH = 0x00020000
@@ -220,25 +220,25 @@ SECTIONS
220
220
*(.data) /* .data sections */
221
221
*(.data*) /* .data* sections */
222
222
KEEP(*(.jcr*))
223
+ *(NonCacheable.init)
224
+ *(NonCacheable)
223
225
. = ALIGN (4);
224
226
__data_end__ = .; /* define a global symbol at data end */
225
- } > m_dtcm
227
+ } > m_sdram
226
228
227
229
__NDATA_ROM = __DATA_ROM + (__data_end__ - __data_start__);
228
230
.ncache.init : AT(__NDATA_ROM)
229
231
{
230
232
__noncachedata_start__ = .; /* create a global symbol at ncache data start */
231
- *(NonCacheable.init)
232
233
. = ALIGN (4);
233
234
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
234
- } > m_nocache
235
+ } > m_ocram
235
236
. = __noncachedata_init_end__;
236
237
.ncache :
237
238
{
238
- *(NonCacheable)
239
239
. = ALIGN (4);
240
240
__noncachedata_end__ = .; /* define a global symbol at ncache data end */
241
- } > m_nocache
241
+ } > m_ocram
242
242
243
243
__DATA_END = __NDATA_ROM + (__noncachedata_init_end__ - __noncachedata_start__);
244
244
text_end = ORIGIN (m_text) + LENGTH (m_text);
@@ -258,7 +258,7 @@ SECTIONS
258
258
. = ALIGN (4);
259
259
__bss_end__ = .;
260
260
__END_BSS = .;
261
- } > m_dtcm
261
+ } > m_sdram
262
262
263
263
.stack :
264
264
{
@@ -267,15 +267,15 @@ SECTIONS
267
267
. += STACK_SIZE;
268
268
stack_end = .;
269
269
__StackTop = .;
270
- } > m_dtcm
270
+ } > m_sdram
271
271
272
272
.RTT_HEAP :
273
273
{
274
274
heap_start = .;
275
275
. = ALIGN (8);
276
- } > m_dtcm
276
+ } > m_sdram
277
277
278
- PROVIDE (heap_end = ORIGIN (m_dtcm ) + LENGTH (m_dtcm ));
278
+ PROVIDE (heap_end = ORIGIN (m_sdram ) + LENGTH (m_sdram ));
279
279
280
280
.ARM.attributes 0 : { *(.ARM.attributes) }
281
281
0 commit comments