Merge branch 'bugfix/ledc_include_gpio' into 'master'

fix(ledc): fixed depending on gpio header but don't depends on it

Closes IDFGH-14390

See merge request espressif/esp-idf!36280
This commit is contained in:
Song Ruo Jing
2025-01-13 15:25:21 +08:00

View File

@@ -10,12 +10,13 @@ endif()
if(${target} STREQUAL "linux") if(${target} STREQUAL "linux")
set(priv_requires "") set(priv_requires "")
else() else()
set(priv_requires esp_pm esp_driver_gpio) set(priv_requires esp_pm)
endif() endif()
idf_component_register( idf_component_register(
SRCS ${srcs} SRCS ${srcs}
INCLUDE_DIRS ${public_include} INCLUDE_DIRS ${public_include}
PRIV_REQUIRES "${priv_requires}" PRIV_REQUIRES "${priv_requires}"
REQUIRES esp_driver_gpio # IDF-11989: Remove this in IDF v6.0
LDFRAGMENTS "linker.lf" LDFRAGMENTS "linker.lf"
) )