summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/mimxrt/boards/MIMXRT1011.ld3
1 files changed, 3 insertions, 0 deletions
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);