Skip to content

Commit c86b9ec

Browse files
robert-hhdpgeorge
authored andcommitted
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 <[email protected]>
1 parent ce38784 commit c86b9ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/mimxrt/boards/MIMXRT1176.ld

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dtcm_size = 0x00020000;
3939
ocrm_start = 0x20240000;
4040
ocrm_size = 0x00100000;
4141

42-
#ifdef MICROPY_HW_SDRAM_AVAIL
42+
#if MICROPY_HW_SDRAM_AVAIL
4343
sdram_start = 0x80000000;
4444
sdram_size = MICROPY_HW_SDRAM_SIZE;
4545
#endif
@@ -49,7 +49,7 @@ __stack_size__ = 0x8000;
4949
_estack = __StackTop;
5050
_sstack = __StackLimit;
5151

52-
#ifdef MICROPY_HW_SDRAM_AVAIL
52+
#if MICROPY_HW_SDRAM_AVAIL
5353
_gc_heap_start = ORIGIN(m_sdram);
5454
_gc_heap_end = ORIGIN(m_sdram) + LENGTH(m_sdram);
5555
#else

0 commit comments

Comments
 (0)