Merge branch 'fix/cache_support_duing_pure_ram_app' into 'master'

fix(esp_mm): Move cache-related sources out of pure RAM app check

See merge request espressif/esp-idf!38717
This commit is contained in:
Aditya Patwardhan
2025-04-30 11:28:01 +08:00
2 changed files with 8 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP)
if(CONFIG_IDF_TARGET_ESP32) if(CONFIG_IDF_TARGET_ESP32)
list(APPEND srcs "cache_esp32.c") list(APPEND srcs "cache_esp32.c")
endif() endif()
else()
if(CONFIG_SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE)
list(APPEND srcs "esp_cache.c")
endif()
endif() endif()
list(APPEND srcs "heap_align_hw.c") list(APPEND srcs "heap_align_hw.c")

View File

@@ -43,6 +43,10 @@ if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP)
elseif(NOT ${target} STREQUAL "linux") elseif(NOT ${target} STREQUAL "linux")
list(APPEND srcs "cache_hal.c") list(APPEND srcs "cache_hal.c")
endif() endif()
else()
if(CONFIG_SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE)
list(APPEND srcs "cache_hal.c")
endif()
endif() endif()
if(esp_tee_build) if(esp_tee_build)