|
123456789101112131415161718192021222324252627282930313233343536373839 |
- ; 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
-
- [env]
- platform = espressif8266
- board = nodemcuv2
- framework = arduino
- monitor_speed = 115200
- extra_scripts = pre:create_gz_files.py
-
- [env:serial]
- upload_protocol = esptool
- upload_speed = 921600
-
- [env:ota]
- ; stuff for OTA
- ; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
- upload_protocol = espota
- upload_port = <!! IP ADDRESS !!>
- upload_flags =
- --port=8266
- --auth=admin
-
- [env:debug]
- build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
- upload_protocol = esptool
- upload_speed = 921600
-
-
-
-
-
|