File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed
hal/targets/cmsis/TARGET_Freescale/TARGET_MCU_K64F/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,16 @@ SECTIONS
227
227
__uvisor_bss_end = .;
228
228
} > m_data
229
229
230
+ /* Heap space for the page allocator */
231
+ .page_heap (NOLOAD) :
232
+ {
233
+ . = ALIGN (32);
234
+ __uvisor_page_start = .;
235
+ KEEP(*(.keep.uvisor.page_heap))
236
+ . = ALIGN (32);
237
+ __uvisor_page_end = .;
238
+ } > m_data_2
239
+
230
240
__VECTOR_RAM = DEFINED (__ram_vector_table__) ? __VECTOR_RAM__ : ORIGIN (m_interrupts);
231
241
__RAM_VECTOR_TABLE_SIZE_BYTES = DEFINED (__ram_vector_table__) ? (__interrupts_ram_end__ - __interrupts_ram_start__) : 0x0;
232
242
@@ -325,21 +335,6 @@ SECTIONS
325
335
__uvisor_heap_end = .;
326
336
} > m_data_2
327
337
328
- .stack :
329
- {
330
- . = ALIGN (8);
331
- . += STACK_SIZE;
332
- __StackTop = .;
333
- } > m_data_2
334
-
335
- /* Heap space for the page allocator */
336
- .page_heap (NOLOAD) :
337
- {
338
- __uvisor_page_start = .;
339
- . = ORIGIN (m_data_2) + LENGTH (m_data_2) - 4;
340
- __uvisor_page_end = .;
341
- } > m_data_2
342
-
343
338
m_usb_bdt USB_RAM_START (NOLOAD) :
344
339
{
345
340
*(m_usb_bdt)
@@ -352,6 +347,7 @@ SECTIONS
352
347
}
353
348
354
349
/* Initializes stack on the end of block */
350
+ __StackTop = ORIGIN (m_data_2) + LENGTH (m_data_2);
355
351
__StackLimit = __StackTop - STACK_SIZE;
356
352
PROVIDE (__stack = __StackTop);
357
353
@@ -365,4 +361,3 @@ SECTIONS
365
361
__uvisor_sram_start = ORIGIN (m_data);
366
362
__uvisor_sram_end = ORIGIN (m_data_2) + LENGTH (m_data_2);
367
363
}
368
-
You can’t perform that action at this time.
0 commit comments