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>
This commit is contained in:
robert-hh 2023-08-30 16:21:41 +02:00 committed by Damien George
parent ce38784fa8
commit c86b9ec8bd
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ dtcm_size = 0x00020000;
ocrm_start = 0x20240000; ocrm_start = 0x20240000;
ocrm_size = 0x00100000; ocrm_size = 0x00100000;
#ifdef MICROPY_HW_SDRAM_AVAIL #if MICROPY_HW_SDRAM_AVAIL
sdram_start = 0x80000000; sdram_start = 0x80000000;
sdram_size = MICROPY_HW_SDRAM_SIZE; sdram_size = MICROPY_HW_SDRAM_SIZE;
#endif #endif
@ -49,7 +49,7 @@ __stack_size__ = 0x8000;
_estack = __StackTop; _estack = __StackTop;
_sstack = __StackLimit; _sstack = __StackLimit;
#ifdef MICROPY_HW_SDRAM_AVAIL #if MICROPY_HW_SDRAM_AVAIL
_gc_heap_start = ORIGIN(m_sdram); _gc_heap_start = ORIGIN(m_sdram);
_gc_heap_end = ORIGIN(m_sdram) + LENGTH(m_sdram); _gc_heap_end = ORIGIN(m_sdram) + LENGTH(m_sdram);
#else #else