File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ OUTPUT_ARCH(arm);
1010/*
1111The stack size used by the application. NOTE: you need to adjust according to your application.
1212*/
13- STACK_SIZE = 0x1000 ;
13+ STACK_SIZE = 0x2000 ;
1414
1515/*
1616Memories definitions
2121 ram (rwx) : org = 0x1fff8000 , len = 32k
2222
2323 /* Note the following ranges are not on the I or D code bus */
24- ram1 (rwx) : org = 0x2003c000 , len = 16k
25- ram2 (rwx) : org = 0x20040000 , len = 16k
24+ /* ram1 and ram2 in one continuous block */
25+ ram1 (rwx) : org = 0x2003c000 , len = 16k * 2
26+ /* ram2 (rwx) : org = 0x20040000, len = 16k */
2627 rom1 (rx) : org = 0x200C0000 , len = 32k
2728}
2829
@@ -168,6 +169,14 @@ SECTIONS
168169 PROVIDE (__heap_end = (ORIGIN (ram) + LENGTH (ram)));
169170 } > ram
170171
172+ .ram1 :
173+ {
174+ . = ALIGN (4 );
175+ *(SORT_BY_ALIGNMENT (.ramfunc ))
176+ *(SORT_BY_ALIGNMENT (.ramfunc .*))
177+ . = ALIGN (4 );
178+ } > ram1
179+
171180 /* Remove information from the standard libraries */
172181 /DISCARD/ :
173182 {
You can’t perform that action at this time.
0 commit comments