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
|
|
|
|
PAGE_OFFSET = 65536 # 1048576
|
|
|
|
|
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
|
|
|
|
2017-09-11 05:10:37 +02:00
|
|
|
FWBURNFLAGS = -b 2000000
|
2016-08-19 04:09:01 +02:00
|
|
|
|
2016-08-19 00:13:41 +02:00
|
|
|
OPTS += -DICACHE_FLASH
|
2017-06-22 05:43:11 +02:00
|
|
|
OPTS += -DDISABLE_CHARRX #Saves about 48 bytes.
|
|
|
|
OPTS += -DQUIET_REFLASH #Saves about 128 bytes.
|
|
|
|
OPTS += -DWS2812_FOUR_SAMPLE #Saves about 224 bytes.
|
|
|
|
#OPTS += -DWS2812_THREE_SAMPLE
|
|
|
|
|
2016-08-19 00:13:41 +02:00
|
|
|
#OPTS += -DVERIFY_FLASH_WRITE
|
|
|
|
#OPTS += -DDEBUG
|
|
|
|
#OPTS += -DFREQ=12500
|
|
|
|
|
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
|
|
|
|