Add Linux TAP

This commit is contained in:
2026-09-03 20:18:59 +03:00
parent 948ae56f77
commit 9fce687690
29 changed files with 815 additions and 118 deletions
+16 -5
View File
@@ -1,8 +1,19 @@
idf_build_get_property(target IDF_TARGET)
set(requires
arp_monitor
device_list
web_server
esp_netif
esp_event
)
if("${target}" STREQUAL "linux")
list(APPEND requires protocol_examples_tapif_io)
endif()
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES
arp_monitor
device_list
web_server
)
REQUIRES ${requires}
)