platformio.ini 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. ; http://docs.platformio.org/page/projectconf.html
  10. [platformio]
  11. env_default = nodemcuv2
  12. [common]
  13. lib_deps_builtin =
  14. SPI
  15. lib_deps =
  16. PubSubClient
  17. Adafruit NeoPixel
  18. #https://github.com/awtrix/Adafruit-GFX-Library
  19. #https://git.metzner.myhome-server.de/hmetzner/gfx-lib_blueforcer
  20. https://github.com/awtrix/FastLED_NeoMatrix
  21. ArduinoJson
  22. FastLED
  23. https://github.com/QuentinCG/Arduino-Light-Dependent-Resistor-Library/releases/download/1.0.0/LightDependentResistor_v1_0_0.zip
  24. [env:nodemcuv2]
  25. platform = espressif8266
  26. #board = nodemcuv2
  27. board = d1_mini
  28. build_flags = -w -Wl,-Tesp8266.flash.4m.ld -DMQTT_MAX_PACKET_SIZE=3000
  29. board_build.f_cpu = 80000000L
  30. framework = arduino
  31. monitor_speed = 115200
  32. upload_speed = 921600
  33. lib_deps =
  34. ${common.lib_deps_builtin}
  35. ${common.lib_deps}