summaryrefslogtreecommitdiff
path: root/libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2026-01-20 08:34:54 +0100
committerschererleander <leander@schererleander.de>2026-01-20 08:34:54 +0100
commit85ea4e995a75abe061f6fc375ea0481084dddd43 (patch)
tree7eb5d57653ecd8f041aeac4e68d7d554c1168681 /libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini
initial commitHEADmain
Diffstat (limited to 'libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini')
-rw-r--r--libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini b/libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini
new file mode 100644
index 0000000..7a5669d
--- /dev/null
+++ b/libraries/ESP_Async_WebServer/pioarduino_examples/IncreaseMaxSockets/platformio.ini
@@ -0,0 +1,26 @@
+[env]
+framework = arduino
+platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip
+build_flags =
+ -Og
+ -Wall -Wextra
+ -Wno-unused-parameter
+ -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
+ ; -D CONFIG_ASYNC_TCP_MAX_ACK_TIME=5000
+ ; -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
+upload_protocol = esptool
+monitor_speed = 115200
+monitor_filters = esp32_exception_decoder, log2file
+lib_compat_mode = strict
+lib_ldf_mode = chain
+lib_deps =
+ ESP32Async/AsyncTCP @ 3.4.0
+ ESP32Async/ESpAsyncWebServer @ 3.7.0
+
+custom_sdkconfig = CONFIG_LWIP_MAX_ACTIVE_TCP=32
+
+[env:esp32dev]
+board = esp32dev