mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(ledc): make esp_driver_ledc as component
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
set(srcs)
|
||||
set(public_include "include")
|
||||
|
||||
if(CONFIG_SOC_LEDC_SUPPORTED)
|
||||
list(APPEND srcs "src/ledc.c")
|
||||
endif()
|
||||
|
||||
idf_component_register(
|
||||
SRCS ${srcs}
|
||||
INCLUDE_DIRS ${public_include}
|
||||
PRIV_REQUIRES "esp_pm" "esp_driver_gpio"
|
||||
LDFRAGMENTS "linker.lf"
|
||||
)
|
||||
Reference in New Issue
Block a user