+31
-10
@@ -15,30 +15,49 @@ env_default = nodemcuv2
|
||||
description = The ESP8266 based multi-client lighting gadget
|
||||
|
||||
[common]
|
||||
# ------------------------------------------------------------------------------
|
||||
# PLATFORM:
|
||||
# !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
|
||||
# We use Arduino Core 2.5.0 (platformIO 2.0.4) as default
|
||||
#
|
||||
# arduino core 2.3.0 = platformIO 1.5.0
|
||||
# arduino core 2.4.0 = platformIO 1.6.0
|
||||
# arduino core 2.4.1 = platformIO 1.7.3
|
||||
# arduino core 2.4.2 = platformIO 1.8.0
|
||||
# arduino core 2.5.0 = platformIO 2.0.4
|
||||
# arduino core stage = platformIO feature#stage
|
||||
# ------------------------------------------------------------------------------
|
||||
arduino_core_2_3_0 = espressif8266@1.5.0
|
||||
arduino_core_2_4_0 = espressif8266@1.6.0
|
||||
arduino_core_2_4_1 = espressif8266@1.7.3
|
||||
arduino_core_2_4_2 = espressif8266@1.8.0
|
||||
arduino_core_2_5_0 = espressif8266@2.0.4
|
||||
arduino_core_stage = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
||||
|
||||
framework = arduino
|
||||
platform = espressif8266@1.8.0
|
||||
; platform = https://github.com/platformio/platform-espressif8266.git
|
||||
; platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
||||
; platform = https://github.com/platformio/platform-espressif8266.git#develop
|
||||
platform = ${common.arduino_core_2_4_2}
|
||||
; platform = ${common.arduino_core_2_5_0}
|
||||
build_flags =
|
||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
-DMQTT_MAX_PACKET_SIZE=2048 ; PubSubClient Specific flags
|
||||
-DMQTT_MAX_PACKET_SIZE=512 ; PubSubClient Specific flags
|
||||
-w ; supress all warnings
|
||||
monitor_speed = 115200
|
||||
board_build.flash_mode = dout
|
||||
board_build.flash_mode = dio
|
||||
upload_speed = 115200
|
||||
upload_resetmethod = nodemcu
|
||||
lib_deps =
|
||||
WiFiManager@0.14
|
||||
AsyncMqttClient
|
||||
ArduinoJson
|
||||
ArduinoJson@6.9.1
|
||||
WS2812FX
|
||||
NeoPixelBus@2.4.1
|
||||
NeoPixelBus
|
||||
WebSockets
|
||||
ESPAsyncE131
|
||||
ESPAsyncUDP
|
||||
https://github.com/FabLab-Luenen/GY33_MCU
|
||||
Brzo_I2C
|
||||
Brzo I2C
|
||||
IRremoteESP8266@2.5.3
|
||||
FastLED
|
||||
|
||||
[env:esp01_1m]
|
||||
board = esp01_1m
|
||||
@@ -55,7 +74,9 @@ lib_deps = ${common.lib_deps}
|
||||
board = nodemcuv2
|
||||
framework = ${common.framework}
|
||||
platform = ${common.platform}
|
||||
build_flags = ${common.build_flags}
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
; -Wl,-Teagle.flash.4m3m.ld ;;;; Required for core > v2.5.0 or staging version
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
|
||||
Reference in New Issue
Block a user