platformio.ini 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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/AsyncTCP@^3.2.5
  13. mathieucarbou/ESPAsyncWebServer@^3.2.4
  14. lib_compat_mode = strict
  15. lib_ldf_mode = chain
  16. upload_protocol = esptool
  17. monitor_speed = 115200
  18. monitor_filters = esp32_exception_decoder, log2file
  19. [platformio]
  20. default_envs = arduino-2, arduino-3, arduino-310rc1, esp8266
  21. lib_dir = .
  22. ; src_dir = examples/Demo
  23. ; src_dir = examples/Demo_AP
  24. src_dir = examples/HighPerf
  25. ; src_dir = examples/Logging
  26. [env:arduino-2]
  27. platform = espressif32@6.8.1
  28. board = esp32-s3-devkitc-1
  29. [env:arduino-3]
  30. platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
  31. board = esp32-s3-devkitc-1
  32. ; board = esp32-c6-devkitc-1
  33. [env:arduino-310rc1]
  34. platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10%%2Brc1/platform-espressif32.zip
  35. board = esp32-s3-devkitc-1
  36. ; board = esp32-c6-devkitc-1
  37. [env:esp8266]
  38. platform = espressif8266
  39. board = huzzah
  40. ; board = d1_mini
  41. lib_deps =
  42. mathieucarbou/ESPAsyncWebServer@^3.2.4
  43. esphome/ESPAsyncTCP-esphome@^2.0.0
  44. ; CI
  45. [env:ci-arduino-2]
  46. platform = espressif32@6.8.1
  47. board = ${sysenv.PIO_BOARD}
  48. [env:ci-arduino-3]
  49. platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
  50. board = ${sysenv.PIO_BOARD}
  51. [env:ci-arduino-310rc1]
  52. platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10%%2Brc1/platform-espressif32.zip
  53. board = ${sysenv.PIO_BOARD}
  54. [env:ci-esp8266]
  55. platform = espressif8266
  56. board = ${sysenv.PIO_BOARD}
  57. lib_deps =
  58. mathieucarbou/ESPAsyncWebServer@^3.2.4
  59. esphome/ESPAsyncTCP-esphome@^2.0.0