File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -311,18 +311,29 @@ SECTIONS
311
311
.heap :
312
312
{
313
313
. = ALIGN (8);
314
+ __uvisor_heap_start = .;
314
315
__end__ = .;
315
316
PROVIDE (end = .);
316
317
__HeapBase = .;
317
318
. += HEAP_SIZE;
318
319
__HeapLimit = .;
319
320
__heap_limit = .; /* Add for _sbrk */
321
+ __uvisor_heap_end = .;
320
322
} > m_data_2
321
323
322
324
.stack :
323
325
{
324
326
. = ALIGN (8);
325
327
. += STACK_SIZE;
328
+ __StackTop = .;
329
+ } > m_data_2
330
+
331
+ /* Heap space for the page allocator */
332
+ .page_heap (NOLOAD) :
333
+ {
334
+ __uvisor_page_start = .;
335
+ . = ORIGIN (m_data_2) + LENGTH (m_data_2) - 4;
336
+ __uvisor_page_end = .;
326
337
} > m_data_2
327
338
328
339
m_usb_bdt USB_RAM_START (NOLOAD) :
@@ -337,7 +348,6 @@ SECTIONS
337
348
}
338
349
339
350
/* Initializes stack on the end of block */
340
- __StackTop = ORIGIN (m_data_2) + LENGTH (m_data_2);
341
351
__StackLimit = __StackTop - STACK_SIZE;
342
352
PROVIDE (__stack = __StackTop);
343
353
You can’t perform that action at this time.
0 commit comments