2024-10-01 13:38:03 +02:00
|
|
|
[platformio]
|
2024-12-05 10:21:12 +01:00
|
|
|
default_envs = arduino-2, arduino-3, arduino-310, esp8266, raspberrypi
|
2024-10-01 13:38:03 +02:00
|
|
|
lib_dir = .
|
|
|
|
; src_dir = examples/CaptivePortal
|
2024-12-05 10:21:12 +01:00
|
|
|
; src_dir = examples/SimpleServer
|
2024-10-01 13:38:03 +02:00
|
|
|
; src_dir = examples/StreamFiles
|
|
|
|
; src_dir = examples/Filters
|
2024-12-05 10:21:12 +01:00
|
|
|
; src_dir = examples/Issue85
|
|
|
|
src_dir = examples/Issue162
|
2024-10-01 13:38:03 +02:00
|
|
|
|
2024-01-27 09:56:20 +01:00
|
|
|
[env]
|
2024-02-06 17:39:53 +01:00
|
|
|
framework = arduino
|
2024-05-14 13:21:01 +02:00
|
|
|
build_flags =
|
2024-12-05 10:21:12 +01:00
|
|
|
-Og
|
2024-05-14 13:21:01 +02:00
|
|
|
-Wall -Wextra
|
2024-09-11 19:20:32 +02:00
|
|
|
-Wno-unused-parameter
|
2024-05-14 13:21:01 +02:00
|
|
|
-D CONFIG_ARDUHAL_LOG_COLORS
|
2024-05-30 08:41:06 +02:00
|
|
|
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
2024-07-18 17:31:53 +02:00
|
|
|
-D CONFIG_ASYNC_TCP_MAX_ACK_TIME=3000
|
|
|
|
-D CONFIG_ASYNC_TCP_PRIORITY=10
|
|
|
|
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=128
|
|
|
|
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1
|
|
|
|
-D CONFIG_ASYNC_TCP_STACK_SIZE=4096
|
2024-01-27 09:56:20 +01:00
|
|
|
upload_protocol = esptool
|
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_filters = esp32_exception_decoder, log2file
|
2024-12-05 10:21:12 +01:00
|
|
|
; monitor_filters = esp8266_exception_decoder, log2file
|
|
|
|
lib_compat_mode = strict
|
|
|
|
lib_ldf_mode = chain
|
2024-07-02 20:06:33 +02:00
|
|
|
lib_deps =
|
2024-10-01 13:38:03 +02:00
|
|
|
; bblanchon/ArduinoJson @ 5.13.4
|
|
|
|
; bblanchon/ArduinoJson @ 6.21.5
|
2024-12-05 10:21:12 +01:00
|
|
|
bblanchon/ArduinoJson @ 7.2.1
|
|
|
|
mathieucarbou/AsyncTCP @ 3.2.14
|
2024-10-01 13:38:03 +02:00
|
|
|
board = esp32dev
|
2024-12-05 10:21:12 +01:00
|
|
|
board_build.partitions = partitions-4MB.csv
|
|
|
|
board_build.filesystem = littlefs
|
2024-10-01 13:38:03 +02:00
|
|
|
|
|
|
|
[env:arduino-2]
|
|
|
|
platform = espressif32@6.9.0
|
2024-05-14 13:21:01 +02:00
|
|
|
|
2024-05-30 08:41:06 +02:00
|
|
|
[env:arduino-3]
|
2024-10-01 13:38:03 +02:00
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
|
|
|
; board = esp32-s3-devkitc-1
|
|
|
|
; board = esp32-c6-devkitc-1
|
|
|
|
|
|
|
|
[env:arduino-3-no-json]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
|
|
|
; board = esp32-s3-devkitc-1
|
|
|
|
; board = esp32-c6-devkitc-1
|
2024-07-02 20:06:33 +02:00
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
mathieucarbou/AsyncTCP @ 3.2.14
|
2024-02-06 17:39:53 +01:00
|
|
|
|
2024-12-05 10:21:12 +01:00
|
|
|
[env:arduino-310]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc3/platform-espressif32.zip
|
2024-10-01 13:38:03 +02:00
|
|
|
; board = esp32-s3-devkitc-1
|
|
|
|
; board = esp32-c6-devkitc-1
|
2024-12-05 10:21:12 +01:00
|
|
|
; board = esp32-h2-devkitm-1
|
|
|
|
|
|
|
|
[env:perf-test-AsyncTCP]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc3/platform-espressif32.zip
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-D PERF_TEST=1
|
|
|
|
|
|
|
|
[env:perf-test-AsyncTCPSock]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc3/platform-espressif32.zip
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/mathieucarbou/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-D PERF_TEST=1
|
2024-10-01 13:38:03 +02:00
|
|
|
|
2024-02-06 17:39:53 +01:00
|
|
|
[env:esp8266]
|
|
|
|
platform = espressif8266
|
2024-12-05 10:21:12 +01:00
|
|
|
; board = huzzah
|
|
|
|
board = d1_mini
|
2024-02-06 17:39:53 +01:00
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
bblanchon/ArduinoJson @ 7.2.1
|
2024-02-06 17:39:53 +01:00
|
|
|
esphome/ESPAsyncTCP-esphome @ 2.0.0
|
2024-07-02 20:06:33 +02:00
|
|
|
|
2024-10-01 13:38:03 +02:00
|
|
|
[env:raspberrypi]
|
2024-12-05 10:21:12 +01:00
|
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
2024-07-02 20:06:33 +02:00
|
|
|
board = rpipicow
|
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
bblanchon/ArduinoJson @ 7.2.1
|
2024-07-02 20:06:33 +02:00
|
|
|
khoih-prog/AsyncTCP_RP2040W @ 1.2.0
|
2024-12-05 10:21:12 +01:00
|
|
|
lib_ignore =
|
|
|
|
lwIP_ESPHost
|
2024-10-01 13:38:03 +02:00
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-Wno-missing-field-initializers
|
2024-07-30 13:52:59 +02:00
|
|
|
|
2024-10-01 13:38:03 +02:00
|
|
|
; CI
|
|
|
|
|
|
|
|
[env:ci-arduino-2]
|
|
|
|
platform = espressif32@6.9.0
|
|
|
|
board = ${sysenv.PIO_BOARD}
|
|
|
|
|
|
|
|
[env:ci-arduino-3]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
|
|
|
board = ${sysenv.PIO_BOARD}
|
|
|
|
|
|
|
|
[env:ci-arduino-3-no-json]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
|
|
|
board = ${sysenv.PIO_BOARD}
|
2024-07-30 13:52:59 +02:00
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
mathieucarbou/AsyncTCP @ 3.2.14
|
2024-07-30 13:52:59 +02:00
|
|
|
|
2024-12-05 10:21:12 +01:00
|
|
|
[env:ci-arduino-310]
|
|
|
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc3/platform-espressif32.zip
|
2024-10-01 13:38:03 +02:00
|
|
|
board = ${sysenv.PIO_BOARD}
|
|
|
|
|
|
|
|
[env:ci-esp8266]
|
|
|
|
platform = espressif8266
|
|
|
|
board = ${sysenv.PIO_BOARD}
|
2024-07-30 13:52:59 +02:00
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
bblanchon/ArduinoJson @ 7.2.1
|
2024-10-01 13:38:03 +02:00
|
|
|
esphome/ESPAsyncTCP-esphome @ 2.0.0
|
2024-09-02 06:59:11 +02:00
|
|
|
|
2024-10-01 13:38:03 +02:00
|
|
|
[env:ci-raspberrypi]
|
2024-12-05 10:21:12 +01:00
|
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
2024-10-01 13:38:03 +02:00
|
|
|
board = ${sysenv.PIO_BOARD}
|
2024-09-02 06:59:11 +02:00
|
|
|
lib_deps =
|
2024-12-05 10:21:12 +01:00
|
|
|
bblanchon/ArduinoJson @ 7.2.1
|
2024-10-01 13:38:03 +02:00
|
|
|
khoih-prog/AsyncTCP_RP2040W @ 1.2.0
|
2024-12-05 10:21:12 +01:00
|
|
|
lib_ignore =
|
|
|
|
lwIP_ESPHost
|
2024-10-01 13:38:03 +02:00
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-Wno-missing-field-initializers
|