1
0

platformio.ini 1.6 KB

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