File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,18 +135,16 @@ SECTIONS
135135 . = ALIGN (8 );
136136 } >PATCHRAM
137137
138- /* User_heap_stack section, used to check that there is enough RAM left */
139- ._user_heap_stack (NOLOAD) :
138+ /* User_stack section, used to check that there is enough RAM left */
139+ ._user_stack (NOLOAD) :
140140 {
141141 . = ALIGN (8 );
142- PROVIDE ( _end = . );
143- . = . + _Min_Heap_Size;
142+ PROVIDE ( _stack = . );
144143 . = . + _Min_Stack_Size;
145144 . = ALIGN (8 );
146145
147146 } >PATCHRAM
148- _estack = 0x2001c000 ; /* end of 112K RAM */
149-
147+ _estack = 0x2001c000 ; /* end of PATCHRAM */
150148/* } >CCMRAM */
151149/* _estack = 0x10010000; /\* end of CCM RAM *\/ */
152150
@@ -158,19 +156,20 @@ _estack = 0x2001c000; /* end of 112K RAM */
158156 . = ALIGN (8 );
159157 *(.ccmdata )
160158 . = ALIGN (8 );
161- /* PROVIDE ( _heap = . ); */
159+ PROVIDE ( _heap = . );
162160 } >CCMRAM
163- /* _eheap = 0x10010000; /\ * end of CCM *\/ */
161+ _eheap = 0x10010000 ; /* end of CCM */
164162
165163 /* External SRAM, used for heap memory - no variables to be allocated here! */
166164 .extdata (NOLOAD) :
167165 {
168166 . = ALIGN (8 );
169167 *(.extdata )
170168 . = ALIGN (8 );
171- PROVIDE ( _heap = . );
169+ /* PROVIDE ( _heap = . ); */
170+ . = . + _Min_Heap_Size;
172171 } >BANK1_SRAM3
173- _eheap = 0x68100000 ;
172+ /* _eheap = 0x68100000; */
174173
175174 /* Remove information from the standard libraries */
176175 /DISCARD/ :
You can’t perform that action at this time.
0 commit comments