2022-07-25 10:31:08 +00:00
|
|
|
; 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
|
|
|
|
|
2024-08-08 21:15:58 +00:00
|
|
|
|
2022-07-25 10:31:08 +00:00
|
|
|
[env:lolin32]
|
|
|
|
platform = espressif32
|
|
|
|
board = lolin32
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
2022-07-25 11:31:12 +00:00
|
|
|
upload_speed = 921600
|
|
|
|
|
2024-08-08 21:15:58 +00:00
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-D ESP32
|
|
|
|
|
|
|
|
[env:lolin32-ota]
|
|
|
|
platform = espressif32
|
|
|
|
board = lolin32
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 921600
|
|
|
|
upload_protocol = espota
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-D ESP32
|
|
|
|
|
|
|
|
upload_flags =
|
|
|
|
--auth=MCH2022OTA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:d1_mini]
|
|
|
|
platform = espressif8266
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 921600
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-D ESP8266
|
|
|
|
|
|
|
|
[env:d1_mini-ota]
|
|
|
|
platform = espressif8266
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 921600
|
|
|
|
upload_protocol = espota
|
|
|
|
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-D ESP8266
|
|
|
|
|
2022-07-25 11:31:12 +00:00
|
|
|
upload_flags =
|
|
|
|
--auth=MCH2022OTA
|