2016-08-19 00:13:41 +02:00
|
|
|
###############################################################################
|
|
|
|
# User Options
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
CHIP = 8266
|
|
|
|
IP = 192.168.4.1 # does not actually set the IP in firmware
|
|
|
|
PORT = /dev/ttyUSB0 # could also be /dev/ttyACM0
|
|
|
|
WEB_PORT = 80
|
|
|
|
COM_PORT = 7777
|
|
|
|
BACKEND_PORT = 7878
|
2018-11-18 21:27:29 +01:00
|
|
|
MFS_PAGE_OFFSET = 532480 # 0x82000
|
2016-08-19 00:13:41 +02:00
|
|
|
|
2016-12-30 18:47:02 +01:00
|
|
|
#SDK_DEFAULT = $(HOME)/esp8266/esp-open-sdk
|
2016-08-19 00:13:41 +02:00
|
|
|
ESP_GCC_VERS = 4.8.5
|
2017-06-22 05:43:11 +02:00
|
|
|
#SDK = $(HOME)/esp8266/esp_iot_sdk_v1.5.2
|
2017-04-05 17:28:26 +02:00
|
|
|
PAGE_SCRIPTS = main.js
|
2016-08-19 00:13:41 +02:00
|
|
|
|
2018-11-30 13:01:36 +01:00
|
|
|
FWBURNFLAGS = -b 1500000
|
2016-08-19 04:09:01 +02:00
|
|
|
|
2018-11-18 21:27:29 +01:00
|
|
|
OPTS += -DUSE_OPTIMIZE_PRINTF
|
|
|
|
OPTS += -DMFS_PAGE_OFFSET=$(MFS_PAGE_OFFSET)
|
2016-08-19 00:13:41 +02:00
|
|
|
OPTS += -DICACHE_FLASH
|
2018-11-18 21:27:29 +01:00
|
|
|
OPTS += -DDISABLE_CHARRX #Saves about 300 bytes.
|
|
|
|
OPTS += -DQUIET_REFLASH #Saves about 96 bytes.
|
2017-06-22 05:43:11 +02:00
|
|
|
OPTS += -DWS2812_FOUR_SAMPLE #Saves about 224 bytes.
|
|
|
|
#OPTS += -DWS2812_THREE_SAMPLE
|
2018-11-18 21:27:29 +01:00
|
|
|
OPTS += -DDISABLE_NET_REFLASH
|
2016-08-19 00:13:41 +02:00
|
|
|
#OPTS += -DVERIFY_FLASH_WRITE
|
|
|
|
#OPTS += -DDEBUG
|
|
|
|
#OPTS += -DFREQ=12500
|
2018-11-30 13:01:36 +01:00
|
|
|
OPTS += -DSOFTAP_CHANNEL=6
|
2016-08-19 00:13:41 +02:00
|
|
|
|
2018-11-18 21:27:29 +01:00
|
|
|
STRIPPED_LIBGCC=YES
|
|
|
|
|
2016-08-19 01:14:41 +02:00
|
|
|
PAGE_TITLE = ColorChord Control Panel
|
2016-08-19 00:13:41 +02:00
|
|
|
PAGE_SCRIPT =
|
2016-08-19 01:14:41 +02:00
|
|
|
PAGE_HEADING = ColorChord: Embedded
|
|
|
|
PAGE_INFO =
|
2016-08-19 00:13:41 +02:00
|
|
|
|