summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-08-30 16:21:41 +0200
committerDamien George <damien@micropython.org>2023-09-01 00:40:44 +1000
commitc86b9ec8bd11dbd665e2af29f2e8b6b6f1ce449a (patch)
tree7d57c3aaa0f81b3b4b4c588ab3f92a9009cba60c
parentce38784fa8e8abc57f7d99ce10739c4f1b577565 (diff)
mimxrt/boards: Fix use of MICROPY_HW_SDRAM_AVAIL in MIMXRT1176.ld.
MICROPY_HW_SDRAM_AVAIL is always defined. Thanks to Ibrahim Abdakader for noticing. Signed-off-by: robert-hh <robert@hammelrath.com>
-rw-r--r--ports/mimxrt/boards/MIMXRT1176.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/mimxrt/boards/MIMXRT1176.ld b/ports/mimxrt/boards/MIMXRT1176.ld
index 2408977b9..d66c86a04 100644
--- a/ports/mimxrt/boards/MIMXRT1176.ld
+++ b/ports/mimxrt/boards/MIMXRT1176.ld
@@ -39,7 +39,7 @@ dtcm_size = 0x00020000;
ocrm_start = 0x20240000;
ocrm_size = 0x00100000;
-#ifdef MICROPY_HW_SDRAM_AVAIL
+#if MICROPY_HW_SDRAM_AVAIL
sdram_start = 0x80000000;
sdram_size = MICROPY_HW_SDRAM_SIZE;
#endif
@@ -49,7 +49,7 @@ __stack_size__ = 0x8000;
_estack = __StackTop;
_sstack = __StackLimit;
-#ifdef MICROPY_HW_SDRAM_AVAIL
+#if MICROPY_HW_SDRAM_AVAIL
_gc_heap_start = ORIGIN(m_sdram);
_gc_heap_end = ORIGIN(m_sdram) + LENGTH(m_sdram);
#else