Added Cmake support for dhcp_state

This commit is contained in:
MartinValik 2018-11-27 14:35:51 +01:00 committed by bot
parent 097597b978
commit e3428adf87
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ if(CONFIG_BT_ENABLED)
bluedroid/bta/av/include
bluedroid/bta/dm/include
bluedroid/bta/gatt/include
bluedroid/bta/hf_client/include
bluedroid/bta/hh/include
bluedroid/bta/jv/include
bluedroid/bta/sdp/include

View File

@ -84,6 +84,7 @@ set(COMPONENT_SRCS "apps/dhcpserver/dhcpserver.c"
"port/esp32/vfs_lwip.c"
"port/esp32/debug/lwip_debug.c"
"port/esp32/freertos/sys_arch.c"
"port/esp32/netif/dhcp_state.c"
"port/esp32/netif/ethernetif.c"
"port/esp32/netif/wlanif.c")
@ -121,7 +122,7 @@ if(CONFIG_PPP_SUPPORT)
endif()
set(COMPONENT_REQUIRES vfs)
set(COMPONENT_PRIV_REQUIRES ethernet tcpip_adapter)
set(COMPONENT_PRIV_REQUIRES ethernet tcpip_adapter nvs_flash)
register_component()