ESP8266_Treppenlicht/templ_platformio_ini

40 lines
893 B
Plaintext
Raw Normal View History

2021-06-10 16:36:16 +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
2021-06-22 18:25:27 +00:00
[env]
2021-06-10 16:36:16 +00:00
platform = espressif8266
2021-06-22 18:25:27 +00:00
board = nodemcuv2
2021-06-10 16:36:16 +00:00
framework = arduino
2021-06-10 17:21:55 +00:00
monitor_speed = 115200
2021-06-10 18:58:48 +00:00
extra_scripts = pre:extra_script.py
2021-06-22 18:25:27 +00:00
[env:serial]
upload_protocol = esptool
upload_speed = 921600
[env:ota]
2021-06-10 16:47:55 +00:00
; stuff for OTA
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
upload_protocol = espota
2021-06-21 07:18:02 +00:00
upload_port = <!! IP ADDRESS !!>
2021-06-10 16:47:55 +00:00
upload_flags =
--port=8266
--auth=admin
2021-06-10 16:36:16 +00:00
2021-06-22 18:25:27 +00:00
[env:debug]
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
upload_protocol = esptool
upload_speed = 921600