ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

templ_platformio_ini 893B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [env]
  11. platform = espressif8266
  12. board = nodemcuv2
  13. framework = arduino
  14. monitor_speed = 115200
  15. extra_scripts = pre:extra_script.py
  16. [env:serial]
  17. upload_protocol = esptool
  18. upload_speed = 921600
  19. [env:ota]
  20. ; stuff for OTA
  21. ; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
  22. upload_protocol = espota
  23. upload_port = <!! IP ADDRESS !!>
  24. upload_flags =
  25. --port=8266
  26. --auth=admin
  27. [env:debug]
  28. build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
  29. upload_protocol = esptool
  30. upload_speed = 921600