@@ -14,19 +14,19 @@ set(srcs "stdin_out.c"
1414 "wifi_connect.c"
1515 "protocol_examples_utils.c" )
1616
17- if (CONFIG_EXAMPLE_PROVIDE_WIFI_CONSOLE_CMD )
17+ if (CONFIG_NET_CONNECT_PROVIDE_WIFI_CONSOLE_CMD )
1818 list (APPEND srcs "console_cmd.c" )
1919endif ()
2020
21- if (CONFIG_EXAMPLE_CONNECT_ETHERNET )
21+ if (CONFIG_NET_CONNECT_CONNECT_ETHERNET )
2222 list (APPEND srcs "eth_connect.c" )
2323endif ()
2424
25- if (CONFIG_EXAMPLE_CONNECT_THREAD )
25+ if (CONFIG_NET_CONNECT_CONNECT_THREAD )
2626 list (APPEND srcs "thread_connect.c" )
2727endif ()
2828
29- if (CONFIG_EXAMPLE_CONNECT_PPP )
29+ if (CONFIG_NET_CONNECT_CONNECT_PPP )
3030 list (APPEND srcs "ppp_connect.c" )
3131endif ()
3232
@@ -35,18 +35,18 @@ idf_component_register(SRCS "${srcs}"
3535 INCLUDE_DIRS "include"
3636 PRIV_REQUIRES esp_netif esp_driver_gpio esp_driver_uart esp_wifi vfs console esp_eth openthread)
3737
38- if (CONFIG_EXAMPLE_PROVIDE_WIFI_CONSOLE_CMD )
38+ if (CONFIG_NET_CONNECT_PROVIDE_WIFI_CONSOLE_CMD )
3939 idf_component_optional_requires(PRIVATE console)
4040endif ()
4141
42- if (CONFIG_EXAMPLE_CONNECT_ETHERNET )
42+ if (CONFIG_NET_CONNECT_CONNECT_ETHERNET )
4343 idf_component_optional_requires(PUBLIC esp_eth)
4444endif ()
4545
46- if (CONFIG_EXAMPLE_CONNECT_THREAD )
46+ if (CONFIG_NET_CONNECT_CONNECT_THREAD )
4747 idf_component_optional_requires(PRIVATE openthread)
4848endif ()
4949
50- if (CONFIG_EXAMPLE_CONNECT_PPP )
50+ if (CONFIG_NET_CONNECT_CONNECT_PPP )
5151 idf_component_optional_requires(PRIVATE esp_tinyusb espressif__esp_tinyusb)
5252endif ()
0 commit comments