platformio.ini 1.0 KB

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. ; 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://github.com/awtrix/FastLED_NeoMatrix
  20. ArduinoJson
  21. FastLED
  22. https://github.com/QuentinCG/Arduino-Light-Dependent-Resistor-Library/releases/download/1.0.0/LightDependentResistor_v1_0_0.zip
  23. [env:nodemcuv2]
  24. platform = espressif8266
  25. #board = nodemcuv2
  26. board = d1_mini
  27. build_flags = -w -Wl,-Teagle.flash.4m.ld -DMQTT_MAX_PACKET_SIZE=3000
  28. board_build.f_cpu = 80000000L
  29. framework = arduino
  30. monitor_speed = 115200
  31. upload_speed = 921600
  32. lib_deps =
  33. ${common.lib_deps_builtin}
  34. ${common.lib_deps}