mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(gdma): move gdma sleep retention info from esp_hal_dma to esp_driver_dma
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user