diff --git a/soc/espressif/common/CMakeLists.txt b/soc/espressif/common/CMakeLists.txt index d5e0a563412b..4cd6217126aa 100644 --- a/soc/espressif/common/CMakeLists.txt +++ b/soc/espressif/common/CMakeLists.txt @@ -4,6 +4,6 @@ zephyr_include_directories(include) if(NOT CONFIG_MCUBOOT AND NOT CONFIG_SOC_ESP32_APPCPU AND NOT CONFIG_SOC_ESP32S3_APPCPU) - zephyr_sources_ifdef(CONFIG_ESP_SPIRAM psram.c) zephyr_sources_ifdef(CONFIG_ESP_HEAP_RUNTIME esp_heap_runtime.c) + zephyr_sources_ifdef(CONFIG_ESP_SPIRAM esp_psram.c) endif() diff --git a/soc/espressif/common/psram.c b/soc/espressif/common/esp_psram.c similarity index 100% rename from soc/espressif/common/psram.c rename to soc/espressif/common/esp_psram.c