File tree Expand file tree Collapse file tree 6 files changed +20
-0
lines changed
arm/musca_b1/Device/Source Expand file tree Collapse file tree 6 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,9 @@ SECTIONS
192
192
. = ALIGN(4); /* This alignment is needed to make the section size 4 bytes aligned */
193
193
} > CODE_RAM AT > FLASH
194
194
195
+ /* Reset current position for subsequent sections */
196
+ . = LOADADDR(.ER_CODE_SRAM) + SIZEOF(.ER_CODE_SRAM);
197
+
195
198
ASSERT(S_RAM_CODE_START % 4 == 0, "S_RAM_CODE_START must be divisible by 4")
196
199
197
200
Image$$ER_CODE_SRAM$$RO$$Base = ADDR(.ER_CODE_SRAM);
Original file line number Diff line number Diff line change @@ -327,6 +327,9 @@ SECTIONS
327
327
. = ALIGN(4); /* This alignment is needed to make the section size 4 bytes aligned */
328
328
} > CODE_RAM AT > FLASH
329
329
330
+ /* Reset current position for subsequent sections */
331
+ . = LOADADDR(.ER_CODE_SRAM) + SIZEOF(.ER_CODE_SRAM);
332
+
330
333
ASSERT(S_RAM_CODE_START % 4 == 0, "S_RAM_CODE_START must be divisible by 4")
331
334
332
335
Image$$ER_CODE_SRAM$$RO$$Base = ADDR(.ER_CODE_SRAM);
Original file line number Diff line number Diff line change @@ -303,6 +303,9 @@ SECTIONS
303
303
. = ALIGN(4); /* This alignment is needed to make the section size 4 bytes aligned */
304
304
} > CODE_RAM AT > FLASH
305
305
306
+ /* Reset current position for subsequent sections */
307
+ . = LOADADDR(.ER_CODE_SRAM) + SIZEOF(.ER_CODE_SRAM);
308
+
306
309
ASSERT(S_RAM_CODE_START % 4 == 0, "S_RAM_CODE_START must be divisible by 4")
307
310
308
311
Image$$ER_CODE_SRAM$$RO$$Base = ADDR(.ER_CODE_SRAM);
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ SECTIONS
58
58
*libflash_drivers.o (.rodata *)
59
59
. = ALIGN (4 ); /* This alignment is needed to make the section size 4 bytes aligned */
60
60
} > CODE_RAM AT > FLASH
61
+
62
+ /* Reset current position for subsequent sections */
63
+ . = LOADADDR (.ER_CODE_SRAM ) + SIZEOF (.ER_CODE_SRAM );
64
+
61
65
Image$$ER_CODE_SRAM$$Base = ADDR (.ER_CODE_SRAM );
62
66
Image$$ER_CODE_SRAM$$Limit = ADDR (.ER_CODE_SRAM ) + SIZEOF (.ER_CODE_SRAM );
63
67
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ SECTIONS
57
57
*libflash_drivers.o (.rodata *)
58
58
. = ALIGN (4 ); /* This alignment is needed to make the section size 4 bytes aligned */
59
59
} > CODE_RAM AT > FLASH
60
+
61
+ /* Reset current position for subsequent sections */
62
+ . = LOADADDR (.ER_CODE_SRAM ) + SIZEOF (.ER_CODE_SRAM );
63
+
60
64
Image$$ER_CODE_SRAM$$Base = ADDR (.ER_CODE_SRAM );
61
65
Image$$ER_CODE_SRAM$$Limit = ADDR (.ER_CODE_SRAM ) + SIZEOF (.ER_CODE_SRAM );
62
66
Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ SECTIONS
150
150
. = ALIGN (4 ); /* This alignment is needed to make the section size 4 bytes aligned */
151
151
} > CODE_RAM AT > FLASH
152
152
153
+ /* Reset current position for subsequent sections */
154
+ . = LOADADDR (.ER_CODE_SRAM ) + SIZEOF (.ER_CODE_SRAM );
155
+
153
156
ASSERT (S_RAM_CODE_START % 4 == 0 , " S_RAM_CODE_START must be divisible by 4" )
154
157
155
158
Image$$ER_CODE_SRAM$$RO$$Base = ADDR (.ER_CODE_SRAM );
You can’t perform that action at this time.
0 commit comments