Add libesphttpd to extras and supporting example (#458)
* libesphttpd: added extras and example * Added "heatshrink" as a submodule * Updated libesphttpd * Updated libesphttpd * Trying to fix the commit id * Updated libesphttpd * Added zlib1g-dev package * Use native gcc to build mkespfsimage and mkupgimg * Added NS and GW for DHCP server configuration
This commit is contained in:
parent
d36e9d65a0
commit
09b8b8087c
30 changed files with 1192 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