Skip to content

Commit df1f84a

Browse files
committed
change .bss section from ramloc32 to ramloc40 for lpc43xx
1 parent 34737f9 commit df1f84a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hw/bsp/lpc43/boards/ea4357/lpc4357.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ SECTIONS
248248
PROVIDE(__end_bss_RAM5 = .) ;
249249
} > RamAHB_ETB16
250250

251-
/* MAIN BSS SECTION */
251+
/* MAIN BSS SECTION: EDIT change to RamLoc40 */
252252
.bss : ALIGN(4)
253253
{
254254
_bss = .;
@@ -257,7 +257,7 @@ SECTIONS
257257
. = ALIGN(4) ;
258258
_ebss = .;
259259
PROVIDE(end = .);
260-
} > RamLoc32
260+
} > RamLoc40 /* RamLoc32 */
261261

262262
/* NOINIT section for RamLoc40 */
263263
.noinit_RAM2 (NOLOAD) : ALIGN(4)

hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ SECTIONS
292292
PROVIDE(__end_bss_RamAHB_ETB16 = .) ;
293293
} > RamAHB_ETB16 AT> RamAHB_ETB16
294294

295-
/* MAIN BSS SECTION */
295+
/* MAIN BSS SECTION: EDIT change to RamLoc40 */
296296
.bss : ALIGN(4)
297297
{
298298
_bss = .;
@@ -305,7 +305,7 @@ SECTIONS
305305
PROVIDE(__end_bss_RAM = .) ;
306306
PROVIDE(__end_bss_RamLoc32 = .) ;
307307
PROVIDE(end = .);
308-
} > RamLoc32 AT> RamLoc32
308+
} > RamLoc40 AT> RamLoc40 /* > RamLoc32 AT> RamLoc32 */
309309

310310
/* NOINIT section for RamLoc40 */
311311
.noinit_RAM2 (NOLOAD) : ALIGN(4)

0 commit comments

Comments
 (0)