mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component dependencies, relying instead on the default behavior that includes all registered components and commonly required ones in the build. Explicitly adding component dependencies can reduce build time when set(COMPONENTS main) is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
parent
496e9cdff8
commit
ad15109daa
@ -1,4 +1,5 @@
|
||||
file(GLOB_RECURSE srcs "main.c" "src/*.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS "./include")
|
||||
|
@ -1,4 +1,5 @@
|
||||
file(GLOB_RECURSE srcs "main.c" "src/*.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio
|
||||
INCLUDE_DIRS "./include")
|
||||
|
@ -1,4 +1,5 @@
|
||||
file(GLOB_RECURSE srcs "main.c" "src/*.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio
|
||||
INCLUDE_DIRS "./include")
|
||||
|
@ -1,4 +1,5 @@
|
||||
file(GLOB_RECURSE srcs "main.c" "src/*.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio
|
||||
INCLUDE_DIRS "./include")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ble_ancs_demo.c" "ble_ancs.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ble_compatibility_test.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "esp_eddystone_api.c"
|
||||
"esp_eddystone_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS "")
|
||||
|
@ -2,6 +2,7 @@ idf_component_register(SRCS "ble_hidd_demo_main.c"
|
||||
"esp_hidd_prf_api.c"
|
||||
"hid_dev.c"
|
||||
"hid_device_le_prf.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "esp_ibeacon_api.c"
|
||||
"ibeacon_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "spp_client_demo.c"
|
||||
PRIV_REQUIRES bt esp_driver_uart nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ble_spp_server_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "example_ble_client_throughput.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "example_ble_server_throughput.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "gattc_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "example_ble_sec_gattc_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "example_ble_sec_gatts_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "gatts_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "gatts_table_creat_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "gattc_multi_connect.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ble50_sec_gattc_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ble50_sec_gatts_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "multi_adv_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "periodic_adv_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "periodic_sync_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
"uart_driver.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "bt_app_core.c"
|
||||
"main.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -4,4 +4,5 @@
|
||||
#register_component()
|
||||
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
"bt_app_core.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_ringbuf vfs
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
"bt_app_core.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_ringbuf vfs
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -2,4 +2,5 @@ idf_component_register(SRCS "main.c"
|
||||
SRCS "app_spp_msg_prs.c"
|
||||
SRCS "app_spp_msg_set.c"
|
||||
SRCS "console_uart.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
"spp_task.c"
|
||||
PRIV_REQUIRES bt nvs_flash vfs
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
"spp_task.c"
|
||||
PRIV_REQUIRES bt nvs_flash vfs
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -3,4 +3,5 @@ idf_component_register(SRCS "app_hf_msg_set.c"
|
||||
"bt_app_hf.c"
|
||||
"gpio_pcm_config.c"
|
||||
"main.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio console esp_ringbuf
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -3,4 +3,5 @@ idf_component_register(SRCS "app_hf_msg_set.c"
|
||||
"bt_app_hf.c"
|
||||
"gpio_pcm_config.c"
|
||||
"main.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_gpio console esp_ringbuf
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "gattc_gatts_coex.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,4 +1,5 @@
|
||||
idf_component_register(SRCS "blufi_example_main.c"
|
||||
"blufi_security.c"
|
||||
"blufi_init.c"
|
||||
PRIV_REQUIRES bt nvs_flash mbedtls
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,7 +1,4 @@
|
||||
|
||||
set(COMPONENT_SRCS "board.c"
|
||||
"aligenie_demo.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ". include")
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "board.c"
|
||||
"aligenie_demo.c"
|
||||
PRIV_REQUIRES vendor_model esp_driver_gpio mbedtls
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
@ -2,4 +2,5 @@ set(srcs "main.c"
|
||||
"board.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES esp_psram nvs_flash esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -3,4 +3,5 @@ set(srcs "main.c"
|
||||
"cmd_wifi.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES nvs_flash console esp_driver_gpio esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "app_bt.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "controller_hci_uart_demo.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart esp_driver_gpio
|
||||
INCLUDE_DIRS "")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "app_bt.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c" "gatt_svr.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -2,4 +2,5 @@ set(srcs "main.c"
|
||||
"gatt_svr.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c" "gatt_svr.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "app_mesh.c"
|
||||
PRIV_REQUIRES bt nvs_flash mbedtls
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c" "gatt_svr.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,4 +1,5 @@
|
||||
set(srcs "main.c")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
PRIV_REQUIRES bt nvs_flash esp_driver_uart
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c" "misc.c" "peer.c" "scli.c"
|
||||
PRIV_REQUIRES bt nvs_flash console esp_driver_uart cmd_system
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "main.c" "gatt_svr.c"
|
||||
PRIV_REQUIRES bt nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ethernet_example_main.c"
|
||||
PRIV_REQUIRES esp_netif esp_eth ethernet_init
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "cmd_ethernet.c"
|
||||
"ethernet_iperf_main.c"
|
||||
PRIV_REQUIRES fatfs esp_netif esp_eth
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,3 @@
|
||||
idf_component_register(SRCS "hello_world_main.c"
|
||||
PRIV_REQUIRES spi_flash
|
||||
INCLUDE_DIRS "")
|
||||
PRIV_REQUIRES spi_flash
|
||||
INCLUDE_DIRS "")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "mesh_light.c"
|
||||
"mesh_main.c"
|
||||
PRIV_REQUIRES esp_wifi esp_driver_gpio esp_driver_ledc nvs_flash
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
@ -1,4 +1,5 @@
|
||||
idf_component_register(SRCS "mesh_main.c"
|
||||
"mesh_netif.c"
|
||||
"mqtt_app.c"
|
||||
PRIV_REQUIRES esp_wifi esp-tls nvs_flash mqtt esp_driver_gpio
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "mesh_light.c"
|
||||
"mesh_main.c"
|
||||
PRIV_REQUIRES esp_wifi esp_driver_gpio nvs_flash esp_driver_ledc
|
||||
INCLUDE_DIRS "." "include")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "bridge_example_main.c"
|
||||
"bridge_console_cmd.c"
|
||||
PRIV_REQUIRES esp_eth console esp_netif esp_wifi
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ethernet_example_main.c"
|
||||
PRIV_REQUIRES esp_wifi esp_eth nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,4 +1,5 @@
|
||||
idf_component_register(SRCS "simple_sniffer_example_main.c"
|
||||
"cmd_sniffer.c"
|
||||
"cmd_pcap.c"
|
||||
PRIV_REQUIRES console esp_wifi fatfs esp_eth app_trace nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -13,4 +13,6 @@ endif()
|
||||
idf_component_register(SRCS sta2eth_main.c
|
||||
${wired_iface}
|
||||
${config_method}
|
||||
PRIV_REQUIRES esp_wifi esp_timer esp_eth esp_http_server
|
||||
nvs_flash esp_driver_gpio wifi_provisioning
|
||||
INCLUDE_DIRS "")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "vlan_support_main.c" "eth_vlan_utils.c"
|
||||
PRIV_REQUIRES esp_netif esp_eth lwip
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "esp_ot_br.c"
|
||||
PRIV_REQUIRES esp_psram openthread esp_coex esp_wifi nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "esp_ot_rcp.c"
|
||||
PRIV_REQUIRES esp_event nvs_flash openthread
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "esp_ot_sleepy_device.c"
|
||||
PRIV_REQUIRES esp_event esp_timer openthread nvs_flash ulp
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,7 @@
|
||||
idf_component_register(SRCS "esp_ot_sleepy_device.c"
|
||||
PRIV_REQUIRES esp_event openthread nvs_flash
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
if(CONFIG_ESP_SLEEP_DEBUG)
|
||||
idf_component_optional_requires(PRIVATE esp_timer)
|
||||
endif()
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "continuous_read_main.c"
|
||||
PRIV_REQUIRES esp_adc
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "oneshot_read_main.c"
|
||||
PRIV_REQUIRES esp_adc
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "soft_spi_master_main.c"
|
||||
PRIV_REQUIRES soft_spi
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "matrix_keyboard_example_main.c"
|
||||
PRIV_REQUIRES matrix_keyboard
|
||||
INCLUDE_DIRS "")
|
||||
|
@ -1,4 +1,5 @@
|
||||
set(srcs "i2c_eeprom_main.c")
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ".")
|
||||
PRIV_REQUIRES esp_driver_i2c i2c_eeprom
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,3 +1,4 @@
|
||||
idf_component_register(SRCS "i2ctools_example_main.c"
|
||||
"cmd_i2ctools.c"
|
||||
PRIV_REQUIRES fatfs esp_driver_i2c
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "jpeg_decode_main.c"
|
||||
PRIV_REQUIRES fatfs esp_driver_jpeg esp_psram
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "jpeg_encode_main.c"
|
||||
PRIV_REQUIRES fatfs esp_driver_jpeg
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -4,6 +4,7 @@ if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY)
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS "i80_controller_example_main.c" "lvgl_demo_ui.c" ${embedded_images}
|
||||
PRIV_REQUIRES esp_lcd spiffs esp_psram
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM)
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "rgb_lcd_example_main.c" "lvgl_demo_ui.c"
|
||||
PRIV_REQUIRES esp_lcd
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -5,4 +5,5 @@ set(srcs "pretty_effect.c"
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES esp_lcd
|
||||
EMBED_FILES image.jpg)
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ledc_basic_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_ledc esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ledc_fade_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_ledc esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ledc_gamma_curve_fade_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_ledc esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "mcpwm_bldc_hall_control_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_mcpwm esp_timer esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "mcpwm_capture_hc_sr04.c"
|
||||
INCLUDE_DIRS ".")
|
||||
PRIV_REQUIRES esp_driver_mcpwm esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "mcpwm_servo_control_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
PRIV_REQUIRES esp_driver_mcpwm
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "mcpwm_sync_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_mcpwm esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "rotary_encoder_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_pcnt esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "dshot_esc_example_main.c" "dshot_esc_encoder.c"
|
||||
PRIV_REQUIRES esp_driver_rmt
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "ir_nec_transceiver_main.c" "ir_nec_encoder.c"
|
||||
PRIV_REQUIRES esp_driver_rmt
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "led_strip_example_main.c" "led_strip_encoder.c"
|
||||
PRIV_REQUIRES esp_driver_rmt
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "led_strip_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_rmt
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "musical_buzzer_example_main.c" "musical_score_encoder.c"
|
||||
PRIV_REQUIRES esp_driver_rmt
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "stepper_motor_example_main.c" "stepper_motor_encoder.c"
|
||||
PRIV_REQUIRES esp_driver_rmt esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "app_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
PRIV_REQUIRES esp_driver_sdio esp_ringbuf
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "sdm_dac_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_sdm esp_driver_gptimer
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "sdm_led_example_main.c"
|
||||
PRIV_REQUIRES esp_driver_sdm
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -1,4 +1,5 @@
|
||||
set(srcs "spi_eeprom_main.c")
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ".")
|
||||
PRIV_REQUIRES esp_driver_spi esp_driver_gpio eeprom
|
||||
INCLUDE_DIRS ".")
|
||||
|
@ -5,4 +5,5 @@ set(srcs "pretty_effect.c"
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES esp_driver_spi esp_driver_gpio
|
||||
EMBED_FILES image.jpg)
|
||||
|
@ -1,2 +1,3 @@
|
||||
idf_component_register(SRCS "app_main.c"
|
||||
PRIV_REQUIRES esp_driver_spi esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user