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
|
|
|
|
|
|
|
|
SDK_DEFAULT = $(HOME)/esp8266/esp-open-sdk
|
|
|
|
ESP_GCC_VERS = 4.8.5
|
|
|
|
|
2016-08-19 04:09:01 +02:00
|
|
|
#Tricky: Espressif started eating up a ton of IRAM in their newer SDKs, so ColorChord must use an older SDK.
|
|
|
|
SDK = $(HOME)/esp8266/esp_iot_sdk_v1.5.2
|
|
|
|
FWBURNFLAGS = -b 1000000
|
|
|
|
|
2016-08-19 00:13:41 +02:00
|
|
|
OPTS += -DICACHE_FLASH
|
|
|
|
#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
|
|
|
|