From 00788964569dacc8b41752442c7514be51413935 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 9 Sep 2024 09:18:19 +0900 Subject: [PATCH] esp32: fix a way to test a config found by GCC -Wundef --- boards/xtensa/esp32/common/scripts/flat_memory.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/xtensa/esp32/common/scripts/flat_memory.ld b/boards/xtensa/esp32/common/scripts/flat_memory.ld index ed92a5867657d..73fc59c3219f9 100644 --- a/boards/xtensa/esp32/common/scripts/flat_memory.ld +++ b/boards/xtensa/esp32/common/scripts/flat_memory.ld @@ -157,7 +157,7 @@ MEMORY extmem_seg (RWX) : org = 0x3f800000, len = 0x400000 } -#if CONFIG_ESP32_RUN_IRAM +#ifdef CONFIG_ESP32_RUN_IRAM REGION_ALIAS("default_rodata_seg", dram0_0_seg); REGION_ALIAS("default_code_seg", iram0_0_seg); #else