Added the ESP-wifi-config submodule to the ESP-RTOS and also add a example
This commit is contained in:
parent
c97ef10267
commit
e7a95326d3
4 changed files with 41 additions and 0 deletions
18
examples/wifi-config-v2/Makefile
Normal file
18
examples/wifi-config-v2/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Makefile for wificfg example
|
||||
PROGRAM=wifi-config-v2
|
||||
EXTRA_COMPONENTS=extras/wifi-config-v2 extras/http-parser extras/dhcpserver
|
||||
|
||||
# For the mDNS responder included under extras:
|
||||
#EXTRA_COMPONENTS += extras/mdnsresponder
|
||||
#EXTRA_CFLAGS += -DEXTRAS_MDNS_RESPONDER
|
||||
|
||||
# For the mDNS responder included with lwip:
|
||||
EXTRA_CFLAGS += -DLWIP_MDNS_RESPONDER=1 -DLWIP_NUM_NETIF_CLIENT_DATA=1 -DLWIP_NETIF_EXT_STATUS_CALLBACK=1
|
||||
|
||||
# Avoid writing the wifi state to flash when using wificfg.
|
||||
EXTRA_CFLAGS += -DWIFI_PARAM_SAVE=0
|
||||
|
||||
# enable debugging for the wifi config tasks
|
||||
EXTRA_CFLAGS += -DWIFI_CONFIG_DEBUG
|
||||
|
||||
include ../../common.mk
|
Loading…
Add table
Add a link
Reference in a new issue