ESP8266_Treppenlicht/templ_platformio_ini

46 lines
1.0 KiB
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-23 11:34:54 +00:00
; for http files
board_build.filesystem = littlefs
board_build.ldscript = eagle.flash.4m1m.ld
extra_scripts = pre:create_gz_files.py
2021-06-10 17:21:55 +00:00
monitor_speed = 115200
2021-06-10 18:58:48 +00:00
2021-06-22 18:25:27 +00:00
[env:serial]
upload_protocol = esptool
upload_speed = 921600
[env:ota]
2021-06-23 11:34:54 +00:00
; OTA => https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
2021-06-10 16:47:55 +00:00
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
2021-06-23 11:34:54 +00:00
--host_port=<!! PORT !!>
2021-06-10 16:47:55 +00:00
--auth=admin
2021-06-10 16:36:16 +00:00
2021-06-22 18:25:27 +00:00
[env:debug]
2021-06-23 11:34:54 +00:00
; look at doku.md
2021-06-22 18:25:27 +00:00
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
upload_protocol = esptool
upload_speed = 921600