Skip to content

Commit

Permalink
esp32: fix a way to test a config
Browse files Browse the repository at this point in the history
found by GCC -Wundef
  • Loading branch information
yamt authored and jerpelea committed Sep 9, 2024
1 parent 92a2e22 commit 0078896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/xtensa/esp32/common/scripts/flat_memory.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0078896

Please sign in to comment.