97 lines
2.3 KiB
INI
97 lines
2.3 KiB
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[platformio]
|
|
src_dir = wled00
|
|
; env_default = nodemcuv2
|
|
|
|
[common_env_data]
|
|
build_flags =
|
|
-D VERSION=0.8.1
|
|
-D DEBUG=1
|
|
framework = arduino
|
|
lib_deps_builtin =
|
|
lib_deps_external =
|
|
# TODO replace libs in /lib with managed libs in here if possible
|
|
#Blynk@0.5.4
|
|
#E131@1.0.0
|
|
#webserver
|
|
FastLED@3.2.1
|
|
NeoPixelBus@2.3.4
|
|
#PubSubClient@2.7
|
|
#Time@1.5
|
|
#Timezone@1.2.1
|
|
#WS2812FX@1.1.2
|
|
|
|
|
|
# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
|
|
[env:nodemcuv2]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
monitor_speed = 115200
|
|
framework = ${common_env_data.framework}
|
|
build_flags =
|
|
${common_env_data.build_flags}
|
|
lib_deps =
|
|
${common_env_data.lib_deps_builtin}
|
|
${common_env_data.lib_deps_external}
|
|
|
|
[env:d1_mini]
|
|
platform = espressif8266
|
|
board = d1_mini
|
|
monitor_speed = 115200
|
|
framework = ${common_env_data.framework}
|
|
build_flags =
|
|
${common_env_data.build_flags}
|
|
lib_deps =
|
|
${common_env_data.lib_deps_builtin}
|
|
${common_env_data.lib_deps_external}
|
|
|
|
[env:esp01_1m]
|
|
platform = espressif8266
|
|
board = esp01_1m
|
|
monitor_speed = 115200
|
|
framework = ${common_env_data.framework}
|
|
build_flags =
|
|
${common_env_data.build_flags}
|
|
lib_deps =
|
|
${common_env_data.lib_deps_builtin}
|
|
${common_env_data.lib_deps_external}
|
|
|
|
[env:esp01]
|
|
platform = espressif8266
|
|
board = esp01
|
|
monitor_speed = 115200
|
|
framework = ${common_env_data.framework}
|
|
build_flags =
|
|
${common_env_data.build_flags}
|
|
-DWLED_DISABLE_MOBILE_UI
|
|
-DWLED_DISABLE_OTA
|
|
-DWLED_DISABLE_ALEXA
|
|
-DWLED_DISABLE_BLYNK
|
|
-DWLED_DISABLE_CRONIXIE
|
|
-DWLED_DISABLE_HUESYNC
|
|
lib_deps =
|
|
${common_env_data.lib_deps_builtin}
|
|
${common_env_data.lib_deps_external}
|
|
|
|
# see: http://docs.platformio.org/en/latest/platforms/espressif32.html
|
|
[env:esp32dev]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
monitor_speed = 115200
|
|
framework = ${common_env_data.framework}
|
|
build_flags =
|
|
${common_env_data.build_flags}
|
|
ARDUINO_ARCH_ESP32
|
|
lib_deps =
|
|
${common_env_data.lib_deps_builtin}
|
|
${common_env_data.lib_deps_external}
|
|
|