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 1.0KB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. ; for http files
  15. board_build.filesystem = littlefs
  16. board_build.ldscript = eagle.flash.4m1m.ld
  17. extra_scripts = pre:create_gz_files.py
  18. monitor_speed = 115200
  19. [env:serial]
  20. upload_protocol = esptool
  21. upload_speed = 921600
  22. [env:ota]
  23. ; OTA => https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
  24. upload_protocol = espota
  25. upload_port = <!! IP ADDRESS !!>
  26. upload_flags =
  27. --port=8266
  28. --host_port=<!! PORT !!>
  29. --auth=admin
  30. [env:debug]
  31. ; look at doku.md
  32. build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
  33. upload_protocol = esptool
  34. upload_speed = 921600