mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
Merge branch 'fix/cache_support_duing_pure_ram_app_v5.4' into 'release/v5.4'
fix(esp_mm): Move cache-related sources out of pure RAM app check (v5.4) See merge request espressif/esp-idf!39063
This commit is contained in:
@@ -19,6 +19,10 @@ if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP)
|
||||
if(CONFIG_IDF_TARGET_ESP32)
|
||||
list(APPEND srcs "cache_esp32.c")
|
||||
endif()
|
||||
else()
|
||||
if(CONFIG_SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE)
|
||||
list(APPEND srcs "esp_cache.c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list(APPEND srcs "heap_align_hw.c")
|
||||
|
@@ -42,6 +42,10 @@ if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP)
|
||||
elseif(NOT ${target} STREQUAL "linux")
|
||||
list(APPEND srcs "cache_hal.c")
|
||||
endif()
|
||||
else()
|
||||
if(CONFIG_SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE)
|
||||
list(APPEND srcs "cache_hal.c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT BOOTLOADER_BUILD)
|
||||
|
Reference in New Issue
Block a user