2018-01-12 02:49:13 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS
|
2018-09-06 12:23:04 +00:00
|
|
|
include/apps
|
|
|
|
lwip/src/include
|
|
|
|
port/esp32/include
|
|
|
|
port/esp32/include/arch
|
|
|
|
)
|
|
|
|
|
|
|
|
set(COMPONENT_SRCDIRS
|
|
|
|
apps/dhcpserver
|
|
|
|
apps/ping
|
|
|
|
lwip/src/api
|
|
|
|
lwip/src/apps/sntp
|
|
|
|
lwip/src/core
|
|
|
|
lwip/src/core/ipv4
|
|
|
|
lwip/src/core/ipv6
|
|
|
|
lwip/src/netif
|
|
|
|
lwip/src/netif/ppp
|
|
|
|
port/esp32
|
|
|
|
port/esp32/freertos
|
|
|
|
port/esp32/netif
|
|
|
|
port/esp32/debug
|
2018-01-12 02:49:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if(CONFIG_PPP_SUPPORT)
|
2018-09-06 12:23:04 +00:00
|
|
|
list(APPEND COMPONENT_SRCDIRS
|
|
|
|
lwip/src/netif/ppp
|
|
|
|
lwip/src/netif/ppp/polarssl
|
|
|
|
)
|
2018-01-12 02:49:13 +00:00
|
|
|
endif()
|
|
|
|
|
2018-05-24 14:29:28 +00:00
|
|
|
set(COMPONENT_REQUIRES vfs)
|
2018-03-22 06:27:10 +00:00
|
|
|
set(COMPONENT_PRIV_REQUIRES ethernet tcpip_adapter)
|
|
|
|
|
2018-01-12 02:49:13 +00:00
|
|
|
register_component()
|
|
|
|
|
2018-09-06 12:23:04 +00:00
|
|
|
# lots of LWIP source files evaluate macros that check address of stack variables
|
2018-02-22 04:05:05 +00:00
|
|
|
component_compile_options(-Wno-address)
|