mimxrt/boards: Set __heap_size__ to 0 in MIMXRT1011.ld.

Do not use the traditional C heap in order to save memory, because the
traditional C heap is unused in MicroPython.
v1.13-wasp-os
Albort Xue 2020-06-10 17:11:30 +08:00 committed by Damien George
parent 2934e41df0
commit 05e5d411b5
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ __stack_size__ = 0x6000;
_estack = __StackTop;
_sstack = __StackLimit;
/* Do not use the traditional C heap. */
__heap_size__ = 0;
/* Use second OCRAM bank for GC heap. */
_gc_heap_start = ORIGIN(m_data2);
_gc_heap_end = ORIGIN(m_data2) + LENGTH(m_data2);