fix(build): clean up dependencies on driver component

This commit is contained in:
Ivan Grokhotkov
2024-09-15 11:22:51 +02:00
parent 5e056de1e7
commit 68e9bcbf1e
30 changed files with 41 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(
SRCS app_main.c svpwm/esp_svpwm.c foc/esp_foc.c
INCLUDE_DIRS "svpwm" "foc"
REQUIRES driver
PRIV_REQUIRES esp_driver_mcpwm esp_driver_gpio
)