feat(gdma): move gdma sleep retention info from esp_hal_dma to esp_driver_dma

This commit is contained in:
morris
2026-04-24 15:35:35 +08:00
parent 0aa8b1ce13
commit d318aeaafb
22 changed files with 1509 additions and 1447 deletions
+3 -1
View File
@@ -10,7 +10,8 @@ set(srcs "src/esp_dma_utils.c" "src/gdma_link.c")
if(CONFIG_SOC_GDMA_SUPPORTED)
list(APPEND srcs "src/gdma.c")
if(CONFIG_SOC_GDMA_SUPPORT_SLEEP_RETENTION AND CONFIG_SOC_PAU_SUPPORTED)
list(APPEND srcs "src/gdma_sleep_retention.c")
list(APPEND srcs "src/gdma_sleep.c")
list(APPEND srcs "${target}/gdma_retention.c")
endif()
if(CONFIG_SOC_GDMA_SUPPORT_ETM)
list(APPEND srcs "src/gdma_etm.c")
@@ -40,6 +41,7 @@ endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${public_include}
PRIV_INCLUDE_DIRS "src"
REQUIRES ${requires}
PRIV_REQUIRES esp_mm efuse
LDFRAGMENTS "linker.lf"