libesphttpd: added extras and example
This commit is contained in:
parent
e24b6579ff
commit
f5af169d63
29 changed files with 1185 additions and 0 deletions
16
examples/esphttpd/Makefile
Normal file
16
examples/esphttpd/Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
PROGRAM = esphttpd
|
||||
EXTRA_COMPONENTS = extras/dhcpserver extras/rboot-ota extras/libesphttpd
|
||||
|
||||
ESP_IP ?= 192.168.4.1
|
||||
|
||||
#Tag for OTA images. 0-27 characters. Change to eg your projects title.
|
||||
LIBESPHTTPD_OTA_TAGNAME ?= generic
|
||||
|
||||
LIBESPHTTPD_MAX_CONNECTIONS ?= 8
|
||||
LIBESPHTTPD_STACKSIZE ?= 2048
|
||||
|
||||
PROGRAM_CFLAGS += -DFREERTOS -DLIBESPHTTPD_OTA_TAGNAME="\"$(LIBESPHTTPD_OTA_TAGNAME)\"" -DFLASH_SIZE=$(FLASH_SIZE)
|
||||
EXTRA_CFLAGS += -DMEMP_NUM_NETCONN=$(LIBESPHTTPD_MAX_CONNECTIONS)
|
||||
|
||||
include ../../common.mk
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue