forked from mirror/qmk_firmware
Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
Change over static strings in the Webserver project to use PROGMEM where possible.
This commit is contained in:
@@ -201,6 +201,7 @@ CSTANDARD = -std=gnu99
|
||||
# Place -D or -U options here for C sources
|
||||
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
|
||||
CDEFS += -DENABLE_DHCP_CLIENT
|
||||
CDEFS += -DENABLE_TELNET_SERVER
|
||||
CDEFS += -DMAX_URI_LENGTH=50
|
||||
|
||||
CDEFS += -DUIP_CONF_UDP="defined(ENABLE_DHCP_CLIENT)" -DUIP_CONF_TCP=1 -DUIP_CONF_UDP_CONNS=1 -DUIP_CONF_MAX_CONNECTIONS=3
|
||||
|
||||
Reference in New Issue
Block a user