mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-08-01 03:34:40 +02:00
feat(examples): Support simple PPP connect in multinet example
This commit is contained in:
@@ -1,2 +1,13 @@
|
||||
idf_component_register(SRCS ethernet_netif.c multi_netif_main.c wifi_connect.c check_connection.c ppp_connect.c
|
||||
set(ppp_connect_srcs ppp_connect.c)
|
||||
if(CONFIG_EXAMPLE_PPP_CONNECT_ESP_MODEM)
|
||||
list(APPEND ppp_connect_srcs ppp_connect_esp_modem.c)
|
||||
else()
|
||||
list(APPEND ppp_connect_srcs ppp_connect_simple.c)
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS multi_netif_main.c
|
||||
check_connection.c
|
||||
wifi_connect.c
|
||||
ethernet_connect.c
|
||||
${ppp_connect_srcs}
|
||||
INCLUDE_DIRS ".")
|
||||
|
Reference in New Issue
Block a user