Skip to content

Commit 6038b5e

Browse files
committed
added peripheral ram section to lpc1788
1 parent 1321723 commit 6038b5e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

targets/chip/lpc1788/linkerscript.ld

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ SECTIONS
171171
PROVIDE(__bss_end = .);
172172
} > ram
173173

174+
.periph :
175+
{
176+
. = ALIGN(4);
177+
PROVIDE(__periph_start = .);
178+
179+
*(SORT_BY_ALIGNMENT(.periph))
180+
*(SORT_BY_ALIGNMENT(.periph.*))
181+
. = ALIGN(4);
182+
183+
PROVIDE(__periph_end = .);
184+
} > ram1
185+
174186
/* Heap segment */
175187
.heap (NOLOAD) :
176188
{

0 commit comments

Comments
 (0)