Browse Source

Single config change to compile against 2.4.0-rc2 when using PlatformIO

fastled
Xose Pérez 7 years ago
parent
commit
aec12da0a8
1 changed files with 84 additions and 81 deletions
  1. +84
    -81
      code/platformio.ini

+ 84
- 81
code/platformio.ini View File

@ -4,10 +4,13 @@ src_dir = espurna
data_dir = espurna/data
[common]
platform = espressif8266
#platform = espressif8266_stage
build_flags = -g -DMQTT_MAX_PACKET_SIZE=400 ${env.ESPURNA_FLAGS}
debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
#https://github.com/me-no-dev/ESPAsyncTCP#036ea44
lib_deps =
DHT sensor library
Adafruit Unified Sensor
@ -36,7 +39,7 @@ lib_ignore =
# ------------------------------------------------------------------------------
[env:wemos-d1mini-relayshield]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -56,7 +59,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:wemos-d1mini-relayshield-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -67,7 +70,7 @@ upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:nodemcu-lolin]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = nodemcuv2
lib_deps = ${common.lib_deps}
@ -87,7 +90,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:nodemcu-lolin-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = nodemcuv2
lib_deps = ${common.lib_deps}
@ -101,7 +104,7 @@ monitor_baud = 115200
# ------------------------------------------------------------------------------
[env:tinkerman-espurna-h06]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -111,7 +114,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:tinkerman-espurna-h06-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -123,7 +126,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:tinkerman-espurna-h07]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -133,7 +136,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:tinkerman-espurna-h07-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -147,7 +150,7 @@ monitor_baud = 115200
# ------------------------------------------------------------------------------
[env:itead-sonoff-basic]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -157,7 +160,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
monitor_baud = 115200
[env:itead-sonoff-basic-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -170,7 +173,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-basic-dht22]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -180,7 +183,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
monitor_baud = 115200
[env:itead-sonoff-basic-dht22-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -193,7 +196,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-basic-ds18b20]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -203,7 +206,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDS18B20_SUPPORT=1
monitor_baud = 115200
[env:itead-sonoff-rf]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -213,7 +216,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
monitor_baud = 115200
[env:itead-sonoff-rf-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -226,7 +229,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-pow]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -236,7 +239,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
monitor_baud = 115200
[env:itead-sonoff-pow-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -249,7 +252,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-dual]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -258,7 +261,7 @@ lib_ignore = ${common.lib_ignore}
build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
[env:itead-sonoff-dual-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -270,7 +273,7 @@ upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:itead-sonoff-4ch]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -280,7 +283,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
monitor_baud = 115200
[env:itead-sonoff-4ch-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -293,7 +296,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-4ch-pro]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -303,7 +306,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
monitor_baud = 115200
[env:itead-sonoff-4ch-pro-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -316,7 +319,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-touch]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -326,7 +329,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
monitor_baud = 115200
[env:itead-sonoff-touch-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -339,7 +342,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-b1]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -349,7 +352,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
monitor_baud = 115200
[env:itead-sonoff-b1-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -362,7 +365,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-t1-1ch]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -372,7 +375,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
monitor_baud = 115200
[env:itead-sonoff-t1-1ch-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -385,7 +388,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-t1-2ch]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -395,7 +398,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
monitor_baud = 115200
[env:itead-sonoff-t1-2ch-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -408,7 +411,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-t1-3ch]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -418,7 +421,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
monitor_baud = 115200
[env:itead-sonoff-t1-3ch-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -431,7 +434,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-led]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -441,7 +444,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
monitor_baud = 115200
[env:itead-sonoff-led-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -454,7 +457,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-sonoff-rfbridge]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -464,7 +467,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
monitor_baud = 19200
[env:itead-sonoff-rfbridge-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -479,7 +482,7 @@ monitor_baud = 19200
# ------------------------------------------------------------------------------
[env:itead-slampher]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -489,7 +492,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
monitor_baud = 115200
[env:itead-slampher-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -502,7 +505,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-s20]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -512,7 +515,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_S20
monitor_baud = 115200
[env:itead-s20-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -525,7 +528,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-1ch-inching]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -535,7 +538,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
monitor_baud = 115200
[env:itead-1ch-inching-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -548,7 +551,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-motor]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -558,7 +561,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
monitor_baud = 115200
[env:itead-motor-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -573,7 +576,7 @@ monitor_baud = 115200
# ------------------------------------------------------------------------------
[env:electrodragon-wifi-iot]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -582,7 +585,7 @@ build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
monitor_baud = 115200
[env:electrodragon-wifi-iot-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -594,7 +597,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:workchoice-ecoplug]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -604,7 +607,7 @@ build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
monitor_baud = 115200
[env:workchoice-ecoplug-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -617,7 +620,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:jangoe-wifi-relay]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -626,7 +629,7 @@ build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
monitor_baud = 115200
[env:jangoe-wifi-relay-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
@ -638,7 +641,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:openenergymonitor-mqtt-relay]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp_wroom_02
lib_deps = ${common.lib_deps}
@ -647,7 +650,7 @@ build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDS18B20_SUP
monitor_baud = 115200
[env:openenergymonitor-mqtt-relay-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp_wroom_02
lib_deps = ${common.lib_deps}
@ -659,7 +662,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:jorgegarcia-wifi-relays]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps}
@ -668,7 +671,7 @@ build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
monitor_baud = 115200
[env:jorgegarcia-wifi-relays-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps}
@ -680,7 +683,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:aithinker-ai-light]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -690,7 +693,7 @@ build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
monitor_baud = 115200
[env:aithinker-ai-light-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -703,7 +706,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:magichome-led-controller]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -713,7 +716,7 @@ build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
monitor_baud = 115200
[env:magichome-led-controller-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -726,7 +729,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:huacanxing-h801]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -736,7 +739,7 @@ build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801 -DDEBUG_PORT=Seria
monitor_baud = 115200
[env:huacanxing-h801-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -749,7 +752,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:huacanxing-h802]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -759,7 +762,7 @@ build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802 -DDEBUG_PORT=Seria
monitor_baud = 115200
[env:huacanxing-h802-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -772,7 +775,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:itead-bnsz01]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -782,7 +785,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
monitor_baud = 115200
[env:itead-bnsz01-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -795,7 +798,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:wion-50055]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -805,7 +808,7 @@ build_flags = ${common.build_flags_1m} -DWION_50055
monitor_baud = 115200
[env:wion-50055-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -818,7 +821,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:exs-wifi-relay-v31]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp07
board_flash_mode = dout
@ -828,7 +831,7 @@ build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
monitor_baud = 115200
[env:exs-wifi-relay-v31-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp07
board_flash_mode = dout
@ -841,7 +844,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:wemos-v9261f]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -851,7 +854,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:wemos-v9261f-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -863,7 +866,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:esp01-v9261f]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -873,7 +876,7 @@ build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
monitor_baud = 115200
[env:esp01-v9261f-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -886,7 +889,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:esp01-ech1560]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -896,7 +899,7 @@ build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
monitor_baud = 115200
[env:esp01-ech1560-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -909,7 +912,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:mancavemade-esplive]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -919,7 +922,7 @@ upload_speed = 460800
monitor_baud = 115200
[env:mancavemade-esplive-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = d1_mini
lib_deps = ${common.lib_deps}
@ -931,7 +934,7 @@ upload_flags = --auth=fibonacci --port 8266
monitor_baud = 115200
[env:quinled]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -941,7 +944,7 @@ build_flags = ${common.build_flags_1m} -DQUINLED
monitor_baud = 115200
[env:quinled-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -958,7 +961,7 @@ monitor_baud = 115200
# ------------------------------------------------------------------------------
[env:esp8266-1m-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp01_1m
board_flash_mode = dout
@ -970,7 +973,7 @@ upload_port = "${env.ESPURNA_IP}"
upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
[env:esp8266-4m-ota]
platform = espressif8266
platform = ${common.platform}
framework = arduino
board = esp12e
board_flash_mode = dout


Loading…
Cancel
Save