diff --git a/ports/mimxrt/boards/MIMXRT1011.ld b/ports/mimxrt/boards/MIMXRT1011.ld index 6b59649fc..0512c48a7 100644 --- a/ports/mimxrt/boards/MIMXRT1011.ld +++ b/ports/mimxrt/boards/MIMXRT1011.ld @@ -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);