2018-11-08 23:57:50 +01:00
|
|
|
; PlatformIO Project Configuration File
|
2018-11-14 00:05:06 +01:00
|
|
|
; Please visit documentation: https://docs.platformio.org/page/projectconf.html
|
2018-11-08 23:57:50 +01:00
|
|
|
|
|
|
|
[platformio]
|
2020-02-29 16:30:15 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# ENVIRONMENTS
|
|
|
|
#
|
|
|
|
# Please uncomment one of the lines below to select your board(s)
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2021-08-23 14:14:48 +02:00
|
|
|
# Travis CI binaries (use `platformio_override.ini` when building for your own board; see `platformio_override.ini.sample` for an example)
|
|
|
|
; default_envs = travis_esp8266, travis_esp32
|
2020-05-11 11:18:07 +02:00
|
|
|
|
|
|
|
# Release binaries
|
2022-03-10 11:20:39 +01:00
|
|
|
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3
|
2020-02-29 16:30:15 +01:00
|
|
|
|
2021-08-23 14:14:48 +02:00
|
|
|
# Build everything
|
2022-02-01 12:02:04 +01:00
|
|
|
; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, travis_esp8266, travis_esp32, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
2021-08-23 14:14:48 +02:00
|
|
|
|
2020-04-22 00:51:00 +02:00
|
|
|
# Single binaries (uncomment your board)
|
2021-06-04 10:39:31 +02:00
|
|
|
; default_envs = elekstube_ips
|
2020-02-29 16:30:15 +01:00
|
|
|
; default_envs = nodemcuv2
|
2021-12-08 01:22:48 +01:00
|
|
|
; default_envs = esp8266_2m
|
2020-02-29 19:52:47 +01:00
|
|
|
; default_envs = esp01_1m_full
|
2020-01-24 23:18:27 +01:00
|
|
|
; default_envs = esp07
|
|
|
|
; default_envs = d1_mini
|
2020-03-05 09:39:43 +01:00
|
|
|
; default_envs = heltec_wifi_kit_8
|
2020-04-14 00:16:06 +02:00
|
|
|
; default_envs = h803wf
|
2020-02-26 11:17:56 +01:00
|
|
|
; default_envs = d1_mini_debug
|
2020-04-13 00:42:27 +02:00
|
|
|
; default_envs = d1_mini_ota
|
2020-01-24 23:18:27 +01:00
|
|
|
; default_envs = esp32dev
|
|
|
|
; default_envs = esp8285_4CH_MagicHome
|
2022-02-01 12:02:04 +01:00
|
|
|
; default_envs = esp8285_H801
|
2020-04-22 23:09:21 +02:00
|
|
|
; default_envs = d1_mini_5CH_Shojo_PCB
|
2020-04-30 23:40:14 +02:00
|
|
|
; default_envs = wemos_shield_esp32
|
2020-05-10 23:58:50 +02:00
|
|
|
; default_envs = m5atom
|
2021-02-20 09:54:54 +01:00
|
|
|
; default_envs = esp32_eth
|
2022-02-23 19:20:07 +01:00
|
|
|
; default_envs = esp32_eth_ota1mapp
|
2022-02-01 12:02:04 +01:00
|
|
|
; default_envs = esp32s2_saola
|
2020-02-24 12:44:41 +01:00
|
|
|
|
2020-11-18 00:54:41 +01:00
|
|
|
src_dir = ./wled00
|
|
|
|
data_dir = ./wled00/data
|
|
|
|
build_cache_dir = ~/.buildcache
|
2020-12-01 13:33:22 +01:00
|
|
|
extra_configs =
|
2020-11-18 00:54:41 +01:00
|
|
|
platformio_override.ini
|
|
|
|
|
2018-11-14 00:05:06 +01:00
|
|
|
[common]
|
2019-03-18 18:13:04 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# PLATFORM:
|
|
|
|
# !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
|
|
|
|
#
|
2020-02-26 11:17:56 +01:00
|
|
|
# arduino core 2.6.3 = platformIO 2.3.2
|
2020-05-09 00:29:42 +02:00
|
|
|
# arduino core 2.7.0 = platformIO 2.5.0
|
2019-03-18 18:13:04 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
2020-02-28 18:53:38 +01:00
|
|
|
arduino_core_2_6_3 = espressif8266@2.3.3
|
2020-08-10 06:44:01 +02:00
|
|
|
arduino_core_2_7_4 = espressif8266@2.6.2
|
2021-06-09 12:57:16 +02:00
|
|
|
arduino_core_3_0_0 = espressif8266@3.0.0
|
2021-12-30 01:48:27 +01:00
|
|
|
arduino_core_3_0_2 = espressif8266@3.2.0
|
2019-03-18 18:13:04 +01:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# Development platforms
|
|
|
|
arduino_core_develop = https://github.com/platformio/platform-espressif8266#develop
|
|
|
|
arduino_core_git = https://github.com/platformio/platform-espressif8266#feature/stage
|
2018-11-14 20:21:36 +01:00
|
|
|
|
2020-05-09 00:29:42 +02:00
|
|
|
# Platform to use for ESP8266
|
2022-02-17 00:17:00 +01:00
|
|
|
platform_wled_default = ${common.arduino_core_2_7_4}
|
2020-11-17 21:49:39 +01:00
|
|
|
# We use 2.7.4.7 for all, includes PWM flicker fix and Wstring optimization
|
|
|
|
platform_packages = tasmota/framework-arduinoespressif8266 @ 3.20704.7
|
2020-12-01 13:33:22 +01:00
|
|
|
platformio/toolchain-xtensa @ ~2.40802.200502
|
|
|
|
platformio/tool-esptool @ ~1.413.0
|
|
|
|
platformio/tool-esptoolpy @ ~1.30000.0
|
2018-11-14 00:05:06 +01:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# FLAGS: DEBUG
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------------------
|
2020-02-28 18:53:38 +01:00
|
|
|
debug_flags = -D DEBUG=1 -D WLED_DEBUG -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
|
2020-02-26 11:17:56 +01:00
|
|
|
#if needed (for memleaks etc) also add; -DDEBUG_ESP_OOM -include "umm_malloc/umm_malloc_cfg.h"
|
2020-12-01 13:33:22 +01:00
|
|
|
#-DDEBUG_ESP_CORE is not working right now
|
2018-11-11 19:34:19 +01:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
2020-11-18 00:54:41 +01:00
|
|
|
# FLAGS: ldscript (available ldscripts at https://github.com/esp8266/Arduino/tree/master/tools/sdk/ld)
|
2020-02-26 11:17:56 +01:00
|
|
|
# ldscript_2m1m (2048 KB) = 1019 KB sketch, 4 KB eeprom, 1004 KB spiffs, 16 KB reserved
|
|
|
|
# ldscript_4m1m (4096 KB) = 1019 KB sketch, 4 KB eeprom, 1002 KB spiffs, 16 KB reserved, 2048 KB empty/ota?
|
|
|
|
#
|
|
|
|
# Available lwIP variants (macros):
|
|
|
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
|
|
|
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
|
|
|
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth
|
2020-11-18 00:54:41 +01:00
|
|
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
2020-02-26 11:17:56 +01:00
|
|
|
#
|
|
|
|
# BearSSL performance:
|
|
|
|
# When building with -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL, please add `board_build.f_cpu = 160000000` to the environment configuration
|
|
|
|
#
|
|
|
|
# BearSSL ciphers:
|
|
|
|
# When building on core >= 2.5, you can add the build flag -DBEARSSL_SSL_BASIC in order to build BearSSL with a limited set of ciphers:
|
|
|
|
# TLS_RSA_WITH_AES_128_CBC_SHA256 / AES128-SHA256
|
|
|
|
# TLS_RSA_WITH_AES_256_CBC_SHA256 / AES256-SHA256
|
|
|
|
# TLS_RSA_WITH_AES_128_CBC_SHA / AES128-SHA
|
|
|
|
# TLS_RSA_WITH_AES_256_CBC_SHA / AES256-SHA
|
|
|
|
# This reduces the OTA size with ~45KB, so it's especially useful on low memory boards (512k/1m).
|
|
|
|
# ------------------------------------------------------------------------------
|
2020-11-17 21:49:39 +01:00
|
|
|
build_flags =
|
2020-12-01 13:33:22 +01:00
|
|
|
-DMQTT_MAX_PACKET_SIZE=1024
|
|
|
|
-DSECURE_CLIENT=SECURE_CLIENT_BEARSSL
|
2020-11-17 21:49:39 +01:00
|
|
|
-DBEARSSL_SSL_BASIC
|
|
|
|
-D CORE_DEBUG_LEVEL=0
|
|
|
|
-D NDEBUG
|
2020-12-01 13:33:22 +01:00
|
|
|
#build_flags for the IRremoteESP8266 library (enabled decoders have to appear here)
|
|
|
|
-D _IR_ENABLE_DEFAULT_=false
|
|
|
|
-D DECODE_HASH=true
|
2020-03-03 17:53:47 +01:00
|
|
|
-D DECODE_NEC=true
|
2020-12-01 13:33:22 +01:00
|
|
|
-D DECODE_SONY=true
|
2020-03-03 17:53:47 +01:00
|
|
|
-D DECODE_SAMSUNG=true
|
|
|
|
-D DECODE_LG=true
|
2020-11-18 00:54:41 +01:00
|
|
|
-DWLED_USE_MY_CONFIG
|
2020-12-29 19:35:59 +01:00
|
|
|
; -D USERMOD_SENSORSTOMQTT
|
2020-11-17 21:49:39 +01:00
|
|
|
|
|
|
|
build_unflags =
|
|
|
|
|
2020-04-20 13:26:09 +02:00
|
|
|
# enables all features for travis CI
|
|
|
|
build_flags_all_features =
|
|
|
|
-D WLED_ENABLE_ADALIGHT
|
|
|
|
-D WLED_ENABLE_DMX
|
|
|
|
-D WLED_ENABLE_MQTT
|
2020-08-30 23:31:58 +02:00
|
|
|
-D WLED_ENABLE_WEBSOCKETS
|
2020-04-20 13:26:09 +02:00
|
|
|
|
2020-11-18 00:54:41 +01:00
|
|
|
build_flags_esp8266 = ${common.build_flags} ${esp8266.build_flags}
|
|
|
|
build_flags_esp32 = ${common.build_flags} ${esp32.build_flags}
|
|
|
|
|
2020-11-08 23:44:10 +01:00
|
|
|
ldscript_1m128k = eagle.flash.1m128.ld
|
|
|
|
ldscript_2m512k = eagle.flash.2m512.ld
|
2020-02-26 11:17:56 +01:00
|
|
|
ldscript_2m1m = eagle.flash.2m1m.ld
|
|
|
|
ldscript_4m1m = eagle.flash.4m1m.ld
|
2018-11-11 19:34:19 +01:00
|
|
|
|
2020-11-17 21:49:39 +01:00
|
|
|
[scripts_defaults]
|
2021-04-22 00:41:36 +02:00
|
|
|
extra_scripts =
|
|
|
|
pre:pio-scripts/set_version.py
|
|
|
|
post:pio-scripts/output_bins.py
|
|
|
|
post:pio-scripts/strip-floats.py
|
|
|
|
pre:pio-scripts/user_config_copy.py
|
2020-11-17 21:49:39 +01:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# COMMON SETTINGS:
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
[env]
|
|
|
|
framework = arduino
|
|
|
|
board_build.flash_mode = dout
|
|
|
|
monitor_speed = 115200
|
2020-12-21 21:23:52 +01:00
|
|
|
# slow upload speed (comment this out with a ';' when building for development use)
|
2020-02-26 11:17:56 +01:00
|
|
|
upload_speed = 115200
|
2020-12-21 21:23:52 +01:00
|
|
|
# fast upload speed (remove ';' when building for development use)
|
|
|
|
; upload_speed = 921600
|
2020-11-17 21:49:39 +01:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# LIBRARIES: required dependencies
|
|
|
|
# Please note that we don't always use the latest version of a library.
|
|
|
|
#
|
|
|
|
# The following libraries have been included (and some of them changd) in the source:
|
|
|
|
# ArduinoJson@5.13.5, Blynk@0.5.4(changed), E131@1.0.0(changed), Time@1.5, Timezone@1.2.1
|
|
|
|
# ------------------------------------------------------------------------------
|
2020-02-17 10:18:36 +01:00
|
|
|
lib_compat_mode = strict
|
2020-02-26 11:17:56 +01:00
|
|
|
lib_deps =
|
2022-01-24 11:34:02 +01:00
|
|
|
fastled/FastLED @ 3.5.0
|
|
|
|
IRremoteESP8266 @ 2.8.1
|
2022-01-14 17:19:33 +01:00
|
|
|
https://github.com/Aircoookie/ESPAsyncWebServer.git @ ~2.0.4
|
2020-12-01 13:33:22 +01:00
|
|
|
#For use of the TTGO T-Display ESP32 Module with integrated TFT display uncomment the following line
|
2020-05-30 09:22:31 +02:00
|
|
|
#TFT_eSPI
|
2020-02-26 11:17:56 +01:00
|
|
|
#For use SSD1306 OLED display uncomment following
|
|
|
|
#U8g2@~2.27.2
|
|
|
|
#For Dallas sensor uncomment following 2 lines
|
2021-07-06 09:51:20 +02:00
|
|
|
#OneWire@~2.3.5
|
|
|
|
#milesburton/DallasTemperature@^3.9.0
|
2020-04-15 23:52:10 +02:00
|
|
|
#For BME280 sensor uncomment following
|
|
|
|
#BME280@~3.0.0
|
2020-12-29 19:35:59 +01:00
|
|
|
; adafruit/Adafruit BMP280 Library @ 2.1.0
|
|
|
|
; adafruit/Adafruit CCS811 Library @ 1.0.4
|
|
|
|
; adafruit/Adafruit Si7021 Library @ 1.4.0
|
|
|
|
|
2022-02-01 12:02:04 +01:00
|
|
|
extra_scripts = ${scripts_defaults.extra_scripts}
|
2020-11-17 21:49:39 +01:00
|
|
|
|
2021-07-03 13:52:23 +02:00
|
|
|
[esp8266]
|
|
|
|
build_flags =
|
|
|
|
-DESP8266
|
|
|
|
-DFP_IN_IROM
|
|
|
|
;-Wno-deprecated-declarations
|
2022-02-14 18:49:13 +01:00
|
|
|
-Wno-register
|
2022-01-02 18:06:42 +01:00
|
|
|
-Wno-misleading-indentation
|
2021-07-03 13:52:23 +02:00
|
|
|
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
|
|
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
|
|
|
; lwIP 2 - Higher Bandwidth no Features
|
|
|
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
|
|
|
; lwIP 1.4 - Higher Bandwidth (Aircoookie has)
|
|
|
|
-DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
|
|
|
; VTABLES in Flash
|
|
|
|
-DVTABLES_IN_FLASH
|
|
|
|
; restrict to minimal mime-types
|
|
|
|
-DMIMETYPE_MINIMAL
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
2022-02-01 12:02:04 +01:00
|
|
|
#https://github.com/lorol/LITTLEFS.git
|
2021-07-03 13:52:23 +02:00
|
|
|
# ESPAsyncTCP @ 1.2.0
|
|
|
|
ESPAsyncUDP
|
2021-08-06 02:08:36 +02:00
|
|
|
makuna/NeoPixelBus @ 2.6.7 # 2.6.5/2.6.6 and newer do not compile on ESP core < 3.0.0
|
2021-07-03 13:52:23 +02:00
|
|
|
|
|
|
|
[esp32]
|
2022-03-10 11:20:39 +01:00
|
|
|
#platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip
|
2022-02-01 12:02:04 +01:00
|
|
|
platform = espressif32@3.5.0
|
|
|
|
|
2022-03-10 11:20:39 +01:00
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Aircoookie/arduino-esp32.git#1.0.6.4
|
|
|
|
|
2021-07-03 13:52:23 +02:00
|
|
|
build_flags = -g
|
|
|
|
-DARDUINO_ARCH_ESP32
|
2022-02-01 12:02:04 +01:00
|
|
|
#-DCONFIG_LITTLEFS_FOR_IDF_3_2
|
2021-09-09 17:50:59 +02:00
|
|
|
-D CONFIG_ASYNC_TCP_USE_WDT=0
|
2022-02-01 12:02:04 +01:00
|
|
|
#use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x
|
|
|
|
-D LOROL_LITTLEFS
|
2021-07-03 13:52:23 +02:00
|
|
|
|
2021-11-17 01:18:19 +01:00
|
|
|
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
|
|
|
|
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
2022-01-14 17:19:33 +01:00
|
|
|
https://github.com/lorol/LITTLEFS.git
|
2021-08-06 02:08:36 +02:00
|
|
|
makuna/NeoPixelBus @ 2.6.7
|
2021-09-11 01:17:42 +02:00
|
|
|
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
2021-07-03 13:52:23 +02:00
|
|
|
|
2021-07-07 01:56:07 +02:00
|
|
|
[esp32s2]
|
|
|
|
build_flags = -g
|
|
|
|
-DARDUINO_ARCH_ESP32
|
|
|
|
-DARDUINO_ARCH_ESP32S2
|
|
|
|
-DCONFIG_IDF_TARGET_ESP32S2
|
2021-09-09 17:50:59 +02:00
|
|
|
-D CONFIG_ASYNC_TCP_USE_WDT=0
|
|
|
|
-DCO
|
2021-07-07 01:56:07 +02:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
2021-08-06 02:08:36 +02:00
|
|
|
makuna/NeoPixelBus @ 2.6.7
|
2021-09-11 01:17:42 +02:00
|
|
|
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
2021-07-07 01:56:07 +02:00
|
|
|
|
2022-01-24 11:34:02 +01:00
|
|
|
[esp32c3]
|
|
|
|
build_flags = -g
|
|
|
|
-DARDUINO_ARCH_ESP32
|
|
|
|
-DARDUINO_ARCH_ESP32C3
|
|
|
|
-DCONFIG_IDF_TARGET_ESP32C3
|
|
|
|
-D CONFIG_ASYNC_TCP_USE_WDT=0
|
|
|
|
-DCO
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
makuna/NeoPixelBus @ 2.6.7
|
|
|
|
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# WLED BUILDS
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
[env:nodemcuv2]
|
|
|
|
board = nodemcuv2
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-02-26 11:17:56 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-04-22 00:41:36 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2018-11-08 23:57:50 +01:00
|
|
|
|
2021-12-08 01:22:48 +01:00
|
|
|
[env:esp8266_2m]
|
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
2022-02-24 01:16:24 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2021-12-08 01:22:48 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
2022-02-24 01:16:24 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-12-08 01:22:48 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP02
|
|
|
|
lib_deps = ${esp8266.lib_deps}
|
|
|
|
|
2020-02-29 19:52:47 +01:00
|
|
|
[env:esp01_1m_full]
|
|
|
|
board = esp01_1m
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-11-08 23:44:10 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_1m128k}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-04-22 00:41:36 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP01 -D WLED_DISABLE_OTA
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2018-11-11 19:34:19 +01:00
|
|
|
|
2020-01-04 05:46:00 +01:00
|
|
|
[env:esp07]
|
|
|
|
board = esp07
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-02-26 11:17:56 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-12-01 13:33:22 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-02-26 11:17:56 +01:00
|
|
|
|
|
|
|
[env:d1_mini]
|
|
|
|
board = d1_mini
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-05-18 16:36:31 +02:00
|
|
|
upload_speed = 921600
|
2020-02-26 11:17:56 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-12-01 13:33:22 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-09-13 22:00:47 +02:00
|
|
|
monitor_filters = esp8266_exception_decoder
|
2020-01-04 05:46:00 +01:00
|
|
|
|
2020-03-05 09:39:43 +01:00
|
|
|
[env:heltec_wifi_kit_8]
|
|
|
|
board = d1_mini
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-03-05 09:39:43 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-03-05 09:39:43 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-03-05 09:39:43 +01:00
|
|
|
|
2020-04-14 00:16:06 +02:00
|
|
|
[env:h803wf]
|
|
|
|
board = d1_mini
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-04-14 00:16:06 +02:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-04-14 00:16:06 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D LEDPIN=1 -D WLED_DISABLE_INFRARED
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-04-14 00:16:06 +02:00
|
|
|
|
2018-11-11 19:34:19 +01:00
|
|
|
[env:esp32dev]
|
|
|
|
board = esp32dev
|
2022-02-01 12:02:04 +01:00
|
|
|
platform = ${esp32.platform}
|
2022-03-10 11:20:39 +01:00
|
|
|
platform_packages = ${esp32.platform_packages}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2022-03-10 11:20:39 +01:00
|
|
|
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2022-02-01 12:02:04 +01:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-11-17 01:19:04 +01:00
|
|
|
board_build.partitions = ${esp32.default_partitions}
|
2019-12-19 20:59:36 +01:00
|
|
|
|
2021-02-20 09:54:54 +01:00
|
|
|
[env:esp32_eth]
|
2020-11-13 18:25:13 +01:00
|
|
|
board = esp32-poe
|
2022-02-01 12:02:04 +01:00
|
|
|
platform = ${esp32.platform}
|
2022-03-10 11:20:39 +01:00
|
|
|
platform_packages = ${esp32.platform_packages}
|
2020-11-13 18:25:13 +01:00
|
|
|
upload_speed = 921600
|
2020-11-17 22:46:17 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-04-22 00:41:36 +02:00
|
|
|
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_Ethernet -D RLYPIN=-1 -D WLED_USE_ETHERNET -D BTNPIN=-1
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-11-17 01:19:04 +01:00
|
|
|
board_build.partitions = ${esp32.default_partitions}
|
2020-11-13 18:25:13 +01:00
|
|
|
|
2021-07-07 01:56:07 +02:00
|
|
|
[env:esp32s2_saola]
|
2022-01-14 17:19:33 +01:00
|
|
|
board = esp32-s2-saola-1
|
2022-02-01 12:02:04 +01:00
|
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.2/platform-tasmota-espressif32-2.0.2.zip
|
2021-07-07 01:56:07 +02:00
|
|
|
platform_packages =
|
|
|
|
framework = arduino
|
|
|
|
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
|
2022-01-14 17:19:33 +01:00
|
|
|
board_build.flash_mode = qio
|
2021-07-07 01:56:07 +02:00
|
|
|
upload_speed = 460800
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
lib_deps = ${esp32s2.lib_deps}
|
|
|
|
|
2022-01-24 11:34:02 +01:00
|
|
|
[env:esp32c3]
|
|
|
|
board = esp32-c3-devkitm-1
|
2022-02-01 12:02:04 +01:00
|
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.2/platform-tasmota-espressif32-2.0.2.zip
|
2022-01-24 11:34:02 +01:00
|
|
|
platform_packages =
|
|
|
|
framework = arduino
|
|
|
|
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
|
|
|
|
upload_speed = 460800
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
lib_deps = ${esp32c3.lib_deps}
|
|
|
|
|
2019-12-18 13:33:27 +01:00
|
|
|
[env:esp8285_4CH_MagicHome]
|
|
|
|
board = esp8285
|
2020-11-18 00:54:41 +01:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-11-26 10:54:37 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_1m128k}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-05-05 03:45:05 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2019-12-18 13:33:27 +01:00
|
|
|
|
2022-02-01 12:02:04 +01:00
|
|
|
[env:esp8285_H801]
|
2019-12-18 13:33:27 +01:00
|
|
|
board = esp8285
|
2020-11-18 00:54:41 +01:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-11-26 10:54:37 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_1m128k}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-05-05 03:45:05 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-02-26 11:17:56 +01:00
|
|
|
|
2020-04-22 23:09:21 +02:00
|
|
|
[env:d1_mini_5CH_Shojo_PCB]
|
|
|
|
board = d1_mini
|
2020-11-18 00:54:41 +01:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-04-22 23:09:21 +02:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-05-05 03:45:05 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_USE_SHOJO_PCB
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-04-22 23:09:21 +02:00
|
|
|
|
2020-02-26 11:17:56 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# DEVELOPMENT BOARDS
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
[env:d1_mini_debug]
|
|
|
|
board = d1_mini
|
|
|
|
build_type = debug
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-02-26 11:17:56 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-02-26 11:17:56 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266} ${common.debug_flags}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-02-28 18:53:38 +01:00
|
|
|
|
2020-04-13 00:42:27 +02:00
|
|
|
[env:d1_mini_ota]
|
|
|
|
board = d1_mini
|
|
|
|
upload_protocol = espota
|
|
|
|
# exchange for your WLED IP
|
|
|
|
upload_port = "10.10.1.27"
|
2020-05-28 02:20:02 +02:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-04-13 00:42:27 +02:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-12-01 13:33:22 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-04-13 00:42:27 +02:00
|
|
|
|
2020-12-16 00:15:43 +01:00
|
|
|
[env:anavi_miracle_controller]
|
|
|
|
board = d1_mini
|
|
|
|
platform = ${common.platform_wled_default}
|
|
|
|
platform_packages = ${common.platform_packages}
|
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags_esp8266} -D LEDPIN=12 -D IRPIN=-1 -D RLYPIN=2
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-12-16 00:15:43 +01:00
|
|
|
|
2020-02-28 18:53:38 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# custom board configurations
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2020-04-30 23:40:14 +02:00
|
|
|
[env:wemos_shield_esp32]
|
|
|
|
board = esp32dev
|
2021-03-30 02:04:02 +02:00
|
|
|
platform = espressif32@3.2
|
2020-04-30 23:40:14 +02:00
|
|
|
upload_speed = 460800
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-07-01 12:05:02 +02:00
|
|
|
build_flags = ${common.build_flags_esp32}
|
|
|
|
-D LEDPIN=16
|
|
|
|
-D RLYPIN=19
|
|
|
|
-D BTNPIN=17
|
2021-07-07 01:56:07 +02:00
|
|
|
-D IRPIN=18
|
2021-07-01 12:05:02 +02:00
|
|
|
-D UWLED_USE_MY_CONFIG
|
2021-07-07 01:56:07 +02:00
|
|
|
-D USERMOD_DALLASTEMPERATURE
|
|
|
|
-D USERMOD_FOUR_LINE_DISPLAY
|
|
|
|
-D TEMPERATURE_PIN=23
|
2021-07-06 09:51:20 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-07-07 01:56:07 +02:00
|
|
|
OneWire@~2.3.5
|
2021-08-23 14:14:48 +02:00
|
|
|
olikraus/U8g2 @ ^2.28.8
|
2021-11-17 01:18:19 +01:00
|
|
|
board_build.partitions = ${esp32.default_partitions}
|
2020-05-10 23:58:50 +02:00
|
|
|
|
|
|
|
[env:m5atom]
|
|
|
|
board = esp32dev
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-05-10 23:58:50 +02:00
|
|
|
build_flags = ${common.build_flags_esp32} -D LEDPIN=27 -D BTNPIN=39
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp32.lib_deps}
|
2021-03-30 02:04:02 +02:00
|
|
|
platform = espressif32@3.2
|
2021-11-17 01:18:19 +01:00
|
|
|
board_build.partitions = ${esp32.default_partitions}
|
2020-05-11 10:57:32 +02:00
|
|
|
|
2020-10-31 23:51:52 +01:00
|
|
|
[env:sp501e]
|
2020-10-31 21:41:44 +01:00
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-26 10:54:37 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
2020-10-31 21:41:44 +01:00
|
|
|
build_flags = ${common.build_flags_esp8266} -D LEDPIN=3 -D BTNPIN=1
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-10-31 21:41:44 +01:00
|
|
|
|
2021-09-16 03:44:09 +02:00
|
|
|
[env:sp511e]
|
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
|
|
|
build_flags = ${common.build_flags_esp8266} -D LEDPIN=3 -D BTNPIN=2 -D IRPIN=5 -D WLED_MAX_BUTTONS=3
|
|
|
|
lib_deps = ${esp8266.lib_deps}
|
|
|
|
|
2021-11-28 04:01:58 +01:00
|
|
|
[env:athom7w]
|
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_MAX_CCT_BLEND=0 -D BTNPIN=-1 -D IRPIN=-1 -D WLED_DISABLE_INFRARED
|
|
|
|
lib_deps = ${esp8266.lib_deps}
|
|
|
|
|
2022-02-01 12:02:04 +01:00
|
|
|
[env:athom15w]
|
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
|
|
|
build_flags = ${common.build_flags_esp8266} -D WLED_USE_IC_CCT -D BTNPIN=-1 -D IRPIN=-1 -D WLED_DISABLE_INFRARED
|
|
|
|
lib_deps = ${esp8266.lib_deps}
|
|
|
|
|
2020-04-20 13:26:09 +02:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# travis test board configurations
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
[env:travis_esp8266]
|
|
|
|
extends = env:d1_mini
|
|
|
|
build_type = debug
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-04-20 13:26:09 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266} ${common.debug_flags} ${common.build_flags_all_features}
|
|
|
|
|
|
|
|
[env:travis_esp32]
|
|
|
|
extends = env:esp32dev
|
2020-09-14 00:31:38 +02:00
|
|
|
; build_type = debug
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-04-20 13:26:09 +02:00
|
|
|
build_flags = ${common.build_flags_esp32} ${common.debug_flags} ${common.build_flags_all_features}
|
2020-09-27 11:37:16 +02:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# codm pixel controller board configurations
|
2021-04-27 09:05:40 +02:00
|
|
|
# codm-controller-0.6 can also be used for the TYWE3S controller
|
2020-09-27 11:37:16 +02:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2021-04-10 12:22:09 +02:00
|
|
|
[env:codm-controller-0.6]
|
2020-09-27 11:37:16 +02:00
|
|
|
board = esp_wroom_02
|
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2020-11-26 10:54:37 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_2m512k}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2020-09-27 11:37:16 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-09-27 11:37:16 +02:00
|
|
|
|
2021-04-10 12:22:09 +02:00
|
|
|
[env:codm-controller-0.6-rev2]
|
2020-09-27 11:37:16 +02:00
|
|
|
board = esp_wroom_02
|
2020-11-18 00:54:41 +01:00
|
|
|
platform = ${common.platform_wled_default}
|
2020-11-17 21:49:39 +01:00
|
|
|
platform_packages = ${common.platform_packages}
|
2021-04-10 12:22:09 +02:00
|
|
|
board_build.ldscript = ${common.ldscript_4m1m}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
2021-04-10 12:22:09 +02:00
|
|
|
build_flags = ${common.build_flags_esp8266}
|
2021-07-03 13:52:23 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2021-05-21 10:10:29 +02:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# EleksTube-IPS
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
[env:elekstube_ips]
|
|
|
|
board = esp32dev
|
|
|
|
platform = espressif32@3.2
|
|
|
|
upload_speed = 921600
|
|
|
|
build_flags = ${common.build_flags_esp32} -D WLED_DISABLE_BROWNOUT_DET -D WLED_DISABLE_INFRARED
|
|
|
|
-D USERMOD_RTC
|
|
|
|
-D USERMOD_ELEKSTUBE_IPS
|
|
|
|
-D LEDPIN=12
|
|
|
|
-D RLYPIN=27
|
|
|
|
-D BTNPIN=34
|
2022-03-05 03:10:32 +01:00
|
|
|
-D WLED_DISABLE_BLYNK
|
2021-05-21 10:10:29 +02:00
|
|
|
-D DEFAULT_LED_COUNT=6
|
|
|
|
# Display config
|
|
|
|
-D ST7789_DRIVER
|
|
|
|
-D TFT_WIDTH=135
|
|
|
|
-D TFT_HEIGHT=240
|
|
|
|
-D CGRAM_OFFSET
|
|
|
|
-D TFT_SDA_READ
|
|
|
|
-D TFT_MOSI=23
|
|
|
|
-D TFT_SCLK=18
|
|
|
|
-D TFT_DC=25
|
|
|
|
-D TFT_RST=26
|
|
|
|
-D SPI_FREQUENCY=40000000
|
|
|
|
-D USER_SETUP_LOADED
|
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-08-23 14:14:48 +02:00
|
|
|
lib_deps =
|
|
|
|
${esp32.lib_deps}
|
|
|
|
TFT_eSPI @ ^2.3.70
|
2021-11-17 01:18:19 +01:00
|
|
|
board_build.partitions = ${esp32.default_partitions}
|