46 lines
1.1 KiB
INI
46 lines
1.1 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
|
|
|
|
[common]
|
|
build_flags =
|
|
-D DEBUG=false
|
|
|
|
[env:esp32doit-devkit-v1]
|
|
platform = espressif32
|
|
board = esp32doit-devkit-v1
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_protocol = espota
|
|
upload_port = 192.168.2.221
|
|
;upload_port = COM6
|
|
build_flags =
|
|
${common.build_flags}
|
|
lib_compat_mode = strict
|
|
lib_deps =
|
|
tzapu/WiFiManager@^2.0.17
|
|
|
|
[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 =
|
|
tzapu/WiFiManager@^2.0.17
|