LEDController/platformio.ini

62 lines
1.4 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]
;default_envs = esp32doit-devkit-v1
;default_envs = nodemcuv2
default_envs = huzzah
[common]
build_flags =
-D DEBUG=true
lib_deps =
tzapu/WiFiManager@^2.0.17
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
upload_protocol = espota
upload_port = 192.168.2.217
;upload_port = COM7
build_flags =
${common.build_flags}
lib_deps =
${common.lib_deps}
lib_compat_mode = strict
[env:nodemcuv2]
platform = https://github.com/platformio/platform-espressif8266.git
board = nodemcuv2
framework = arduino
upload_protocol = espota
upload_port = 192.168.2.238
;upload_port = COM6
upload_speed = 115200
monitor_speed = 115200
build_flags =
${common.build_flags}
lib_deps =
${common.lib_deps}
[env:huzzah]
platform = https://github.com/platformio/platform-espressif8266.git
board = huzzah
framework = arduino
;upload_port = 192.168.2.238
upload_port = COM6
upload_speed = 115200
monitor_speed = 115200
build_flags =
${common.build_flags}
lib_deps =
${common.lib_deps}