Merge branch 'bugfix/psram_cmake_3_16_error' into 'master'

fix(build): fixed build error when compiling with cmake 3.16

Closes IDF-12739

See merge request espressif/esp-idf!38090
This commit is contained in:
Marius Vikhammer
2025-03-28 12:24:26 +08:00

View File

@ -43,9 +43,11 @@ idf_component_register(SRCS ${srcs}
if(CONFIG_SPIRAM)
add_subdirectory(device)
endif()
if(CONFIG_SOC_SPIRAM_XIP_SUPPORTED)
add_subdirectory(xip_impl)
if(CONFIG_SOC_SPIRAM_XIP_SUPPORTED)
add_subdirectory(xip_impl)
endif()
endif()
if(CONFIG_IDF_TARGET_ESP32 AND CONFIG_SPIRAM_CACHE_WORKAROUND AND NOT BOOTLOADER_BUILD)