CMakeLists.txt 470 B

12345678910111213141516
  1. if(CONFIG_EXAMPLE_WIFI_CONFIGURATION_MANUAL)
  2. set(config_method manual_config.c)
  3. else()
  4. set(config_method provisioning.c scheme_generic_httpd.c)
  5. endif()
  6. if(CONFIG_EXAMPLE_WIRED_INTERFACE_IS_ETHERNET)
  7. set(wired_iface ethernet_iface.c)
  8. else()
  9. set(wired_iface usb_ncm_iface.c)
  10. endif()
  11. idf_component_register(SRCS sta2eth_main.c
  12. ${wired_iface}
  13. ${config_method}
  14. INCLUDE_DIRS "")