File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -250,30 +250,31 @@ SECTIONS
250250 .heap :
251251 {
252252 . = ALIGN (8 );
253+ *(.heap );
253254 __end__ = .;
254255 PROVIDE (end = .);
255256 __HeapBase = .;
256257 . += HEAP_SIZE;
257258 __HeapLimit = .;
258259 __heap_limit = .; /* Add for _sbrk */
259- } > m_dtcm
260+ } > m_ocrm
260261
261262 .stack :
262263 {
263264 . = ALIGN (8 );
264265 . += STACK_SIZE;
265- } > m_dtcm
266+ } > m_ocrm
266267
267268 _flashimagelen = __FLASH_DATA_END - flash_start;
268269
269270 /* Initializes stack on the end of block */
270- __StackTop = ORIGIN (m_dtcm ) + LENGTH (m_dtcm );
271+ __StackTop = ORIGIN (m_ocrm ) + LENGTH (m_ocrm );
271272 __StackLimit = __StackTop - STACK_SIZE;
272273 _vStackTop = __StackTop;
273274 PROVIDE (__stack = __StackTop);
274275
275276 .ARM .attributes 0 : { *(.ARM .attributes ) }
276277
277- ASSERT (__StackLimit >= __HeapLimit, " region m_dtcm overflowed with stack and heap" )
278+ ASSERT (__StackLimit >= __HeapLimit, " region m_ocrm overflowed with stack and heap" )
278279}
279280
You can’t perform that action at this time.
0 commit comments