2023-06-08 07:29:22 +02:00
|
|
|
if(CONFIG_EXAMPLE_WIFI_CONFIGURATION_MANUAL)
|
|
|
|
set(config_method manual_config.c)
|
|
|
|
else()
|
|
|
|
set(config_method provisioning.c scheme_generic_httpd.c)
|
|
|
|
endif()
|
|
|
|
|
2023-06-01 22:44:11 +02:00
|
|
|
if(CONFIG_EXAMPLE_WIRED_INTERFACE_IS_ETHERNET)
|
|
|
|
set(wired_iface ethernet_iface.c)
|
|
|
|
else()
|
|
|
|
set(wired_iface usb_ncm_iface.c)
|
|
|
|
endif()
|
|
|
|
|
2023-06-20 08:55:51 +02:00
|
|
|
idf_component_register(SRCS sta2eth_main.c
|
2023-06-01 22:44:11 +02:00
|
|
|
${wired_iface}
|
2023-06-08 07:29:22 +02:00
|
|
|
${config_method}
|
2024-09-24 14:22:10 +02:00
|
|
|
PRIV_REQUIRES esp_wifi esp_timer esp_eth esp_http_server
|
2025-09-11 18:47:03 +08:00
|
|
|
nvs_flash esp_driver_gpio
|
2023-06-08 07:29:22 +02:00
|
|
|
INCLUDE_DIRS "")
|