|
|
|
@ -27,6 +27,10 @@ ESPTOOL ?= $(abspath ../esp-open-sdk/esptool/esptool.py) |
|
|
|
|
ESPPORT ?= /dev/ttyUSB0
|
|
|
|
|
ESPBAUD ?= 460800
|
|
|
|
|
|
|
|
|
|
# Build time Wifi Cfg
|
|
|
|
|
# STA_SSID ?=
|
|
|
|
|
# STA_PASS ?=
|
|
|
|
|
|
|
|
|
|
# --------------- chipset configuration ---------------
|
|
|
|
|
|
|
|
|
|
# Pick your flash size: "512KB", "1MB", or "4MB"
|
|
|
|
@ -212,6 +216,14 @@ Q := @ |
|
|
|
|
vecho := @echo
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifneq ($(strip $(STA_SSID)),) |
|
|
|
|
CFLAGS+= -DSTA_SSID="$(STA_SSID)"
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifneq ($(strip $(STA_PASS)),) |
|
|
|
|
CFLAGS+= -DSTA_PASS="$(STA_PASS)"
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifeq ("$(GZIP_COMPRESSION)","yes") |
|
|
|
|
CFLAGS += -DGZIP_COMPRESSION
|
|
|
|
|
endif |
|
|
|
|