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.
pull/5817/head^2
Albort Xue 2020-06-10 17:11:30 +08:00 zatwierdzone przez Damien George
rodzic 2934e41df0
commit 05e5d411b5
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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);