platformio.ini 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [env]
  2. framework = arduino
  3. build_flags =
  4. -Wall -Wextra
  5. -D CONFIG_ARDUHAL_LOG_COLORS
  6. -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
  7. -D CONFIG_ASYNC_TCP_QUEUE_SIZE=128
  8. -D CONFIG_ASYNC_TCP_RUNNING_CORE=1
  9. -D WS_MAX_QUEUED_MESSAGES=128
  10. -D WSL_HIGH_PERF
  11. lib_deps =
  12. mathieucarbou/Async TCP @ ^3.1.4
  13. mathieucarbou/ESP Async WebServer @ 2.10.4
  14. upload_protocol = esptool
  15. monitor_speed = 115200
  16. monitor_filters = esp32_exception_decoder, log2file
  17. [platformio]
  18. lib_dir = .
  19. ; src_dir = examples/Demo
  20. ; src_dir = examples/Demo_AP
  21. ; src_dir = examples/HighPerf
  22. src_dir = examples/Logging
  23. [env:arduino]
  24. platform = espressif32
  25. board = esp32-s3-devkitc-1
  26. [env:arduino-2]
  27. platform = espressif32@6.7.0
  28. board = esp32-s3-devkitc-1
  29. [env:arduino-3]
  30. platform = espressif32
  31. platform_packages=
  32. platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0
  33. platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.0/esp32-arduino-libs-3.0.0.zip
  34. board = esp32-s3-devkitc-1
  35. ; board = esp32dev
  36. [env:esp8266]
  37. platform = espressif8266
  38. board = huzzah
  39. lib_deps =
  40. mathieucarbou/ESP Async WebServer @ 2.10.4
  41. esphome/ESPAsyncTCP-esphome @ 2.0.0