fix(build_system): cleaned up esp_psram dependencies

Also moved mspi_mb functionality to esp_hw_support together with
other mspi functionality
This commit is contained in:
Marius Vikhammer
2026-08-24 11:12:17 +08:00
parent b95b1bbf1f
commit 532b433246
20 changed files with 115 additions and 64 deletions
-4
View File
@@ -53,7 +53,3 @@ idf_component_register(SRCS ${srcs}
PRIV_REQUIRES esp_mm efuse
LDFRAGMENTS "linker.lf"
)
if(CONFIG_SPIRAM)
idf_component_optional_requires(PRIVATE esp_psram)
endif()
@@ -21,7 +21,7 @@
#include "hal/cache_ll.h"
#include "esp_cache.h"
#if CONFIG_SPIRAM
#include "esp_private/esp_psram_mspi.h"
#include "esp_private/mspi_mem_barrier.h"
#endif
ESP_LOG_ATTR_TAG(TAG, "dma_utils");