mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
fix(ledc): fixed depending on gpio header but don't depends on it
Closes https://github.com/espressif/esp-idf/issues/15174
This commit is contained in:
parent
e44c525da2
commit
d594067acf
@ -10,12 +10,13 @@ endif()
|
||||
if(${target} STREQUAL "linux")
|
||||
set(priv_requires "")
|
||||
else()
|
||||
set(priv_requires esp_pm esp_driver_gpio)
|
||||
set(priv_requires esp_pm)
|
||||
endif()
|
||||
|
||||
idf_component_register(
|
||||
SRCS ${srcs}
|
||||
INCLUDE_DIRS ${public_include}
|
||||
PRIV_REQUIRES "${priv_requires}"
|
||||
REQUIRES esp_driver_gpio # IDF-11989: Remove this in IDF v6.0
|
||||
LDFRAGMENTS "linker.lf"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user