mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-26 16:00:56 +02:00
mathieucarbou/Async TCP @ ^3.0.2
This commit is contained in:
65
.github/workflows/ci.yml
vendored
65
.github/workflows/ci.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run: arduino-cli core install --additional-urls "${{ matrix.index_url }}" ${{ matrix.core }}
|
run: arduino-cli core install --additional-urls "${{ matrix.index_url }}" ${{ matrix.core }}
|
||||||
|
|
||||||
- name: Install AsyncTCP-esphome
|
- name: Install AsyncTCP-esphome
|
||||||
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.0.0
|
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.0.2
|
||||||
|
|
||||||
- name: Install ESPAsyncTCP-esphome
|
- name: Install ESPAsyncTCP-esphome
|
||||||
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0
|
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0
|
||||||
@@ -60,50 +60,67 @@ jobs:
|
|||||||
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/SimpleServer/SimpleServer.ino"
|
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/SimpleServer/SimpleServer.ino"
|
||||||
|
|
||||||
platformio:
|
platformio:
|
||||||
name: PlatformIO
|
name: pio ${{ matrix.name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: espressif32
|
- name: esp32dev|espressif32
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
|
platform: espressif32
|
||||||
opts:
|
opts:
|
||||||
- platform: espressif8266
|
- name: esp32dev|espressif32@6.6.0
|
||||||
board: huzzah
|
|
||||||
opts:
|
|
||||||
- platform: espressif32
|
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
|
platform: espressif32@6.6.0
|
||||||
|
opts:
|
||||||
|
- name: esp32dev|arduino@3.0.0-rc1
|
||||||
|
board: esp32dev
|
||||||
|
platform: espressif32
|
||||||
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
||||||
- platform: espressif8266
|
- name: esp32dev|arduino@master
|
||||||
|
board: esp32dev
|
||||||
|
platform: espressif32
|
||||||
|
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
||||||
|
- name: esp32-s3-devkitc-1|espressif32
|
||||||
|
board: esp32-s3-devkitc-1
|
||||||
|
platform: espressif32
|
||||||
|
opts:
|
||||||
|
- name: esp32-s3-devkitc-1|espressif32@6.6.0
|
||||||
|
board: esp32-s3-devkitc-1
|
||||||
|
platform: espressif32@6.6.0
|
||||||
|
opts:
|
||||||
|
- name: esp32-s3-devkitc-1|arduino@3.0.0-rc1
|
||||||
|
board: esp32-s3-devkitc-1
|
||||||
|
platform: espressif32
|
||||||
|
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
||||||
|
- name: esp32-s3-devkitc-1|arduino@master
|
||||||
|
board: esp32-s3-devkitc-1
|
||||||
|
platform: espressif32
|
||||||
|
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
||||||
|
- name: huzzah|espressif8266
|
||||||
board: huzzah
|
board: huzzah
|
||||||
|
platform: espressif8266
|
||||||
|
opts:
|
||||||
|
- name: huzzah|arduino@3.0.0-rc1
|
||||||
|
board: huzzah
|
||||||
|
platform: espressif8266
|
||||||
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
opts: "--project-option 'platform_packages=platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1, platform_packages=platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1'"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.platformio
|
~/.platformio
|
||||||
~/.cache/pip
|
~/.cache/pip
|
||||||
key: ${{ runner.os }}-platformio
|
key: ${{ matrix.name }}
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
- name: Set up Python 3.x
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
- run: pip install platformio
|
||||||
- name: Install PlatformIO
|
- run: platformio platform install ${{ matrix.platform }}
|
||||||
run: pip install platformio
|
|
||||||
|
|
||||||
- name: Install platform "${{ matrix.platform }}"
|
|
||||||
run: platformio platform install ${{ matrix.platform }}
|
|
||||||
|
|
||||||
- name: Build CaptivePortal
|
- name: Build CaptivePortal
|
||||||
run: platformio ci "examples/CaptivePortal/CaptivePortal.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
|
run: platformio ci "examples/CaptivePortal/CaptivePortal.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
|
||||||
|
|
||||||
- name: Build SimpleServer
|
- name: Build SimpleServer
|
||||||
run: platformio ci "examples/SimpleServer/SimpleServer.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
|
run: platformio ci "examples/SimpleServer/SimpleServer.ino" -l '.' -b ${{ matrix.board }} ${{ matrix.opts }}
|
||||||
|
@@ -23,7 +23,7 @@ This fork is based on [yubox-node-org/ESPAsyncWebServer](https://github.com/yubo
|
|||||||
- [#5](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/5) ([@vortigont](https://github.com/vortigont)): set real "Last-Modified" header based on file's LastWrite time
|
- [#5](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/5) ([@vortigont](https://github.com/vortigont)): set real "Last-Modified" header based on file's LastWrite time
|
||||||
- [#13](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/13) ([@tueddy](https://github.com/tueddy)): Compile with Arduino 3 (ESP-IDF 5.1)
|
- [#13](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/13) ([@tueddy](https://github.com/tueddy)): Compile with Arduino 3 (ESP-IDF 5.1)
|
||||||
- [#14](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/14) ([@nilo85](https://github.com/nilo85)): Add support for Auth & GET requests in AsyncCallbackJsonWebHandler
|
- [#14](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/14) ([@nilo85](https://github.com/nilo85)): Add support for Auth & GET requests in AsyncCallbackJsonWebHandler
|
||||||
- Depends on `mathieucarbou/Async TCP @ ^3.0.0`
|
- Depends on `mathieucarbou/Async TCP @ ^3.0.2`
|
||||||
- Arduino 3 / ESP-IDF 5.1 compatibility
|
- Arduino 3 / ESP-IDF 5.1 compatibility
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
@@ -23,7 +23,7 @@ This fork is based on [yubox-node-org/ESPAsyncWebServer](https://github.com/yubo
|
|||||||
- [#5](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/5) ([@vortigont](https://github.com/vortigont)): set real "Last-Modified" header based on file's LastWrite time
|
- [#5](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/5) ([@vortigont](https://github.com/vortigont)): set real "Last-Modified" header based on file's LastWrite time
|
||||||
- [#13](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/13) ([@tueddy](https://github.com/tueddy)): Compile with Arduino 3 (ESP-IDF 5.1)
|
- [#13](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/13) ([@tueddy](https://github.com/tueddy)): Compile with Arduino 3 (ESP-IDF 5.1)
|
||||||
- [#14](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/14) ([@nilo85](https://github.com/nilo85)): Add support for Auth & GET requests in AsyncCallbackJsonWebHandler
|
- [#14](https://github.com/mathieucarbou/ESPAsyncWebServer/pull/14) ([@nilo85](https://github.com/nilo85)): Add support for Auth & GET requests in AsyncCallbackJsonWebHandler
|
||||||
- Depends on `mathieucarbou/Async TCP @ ^3.0.0`
|
- Depends on `mathieucarbou/Async TCP @ ^3.0.2`
|
||||||
- Arduino 3 / ESP-IDF 5.1 compatibility
|
- Arduino 3 / ESP-IDF 5.1 compatibility
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
{
|
{
|
||||||
"owner": "mathieucarbou",
|
"owner": "mathieucarbou",
|
||||||
"name": "Async TCP",
|
"name": "Async TCP",
|
||||||
"version": "^3.0.0",
|
"version": "^3.0.2",
|
||||||
"platforms": "espressif32"
|
"platforms": "espressif32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -1,34 +1,46 @@
|
|||||||
[env]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
-Wall -Wextra
|
-Wall -Wextra
|
||||||
-D CONFIG_ARDUHAL_LOG_COLORS
|
-D CONFIG_ARDUHAL_LOG_COLORS
|
||||||
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||||
|
lib_deps =
|
||||||
|
bblanchon/ArduinoJson @ 7.0.4
|
||||||
|
mathieucarbou/Async TCP @ ^3.0.2
|
||||||
upload_protocol = esptool
|
upload_protocol = esptool
|
||||||
upload_port = /dev/cu.usbserial-0001
|
|
||||||
|
|
||||||
monitor_port = /dev/cu.usbserial-0001
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
monitor_filters = esp32_exception_decoder, log2file
|
monitor_filters = esp32_exception_decoder, log2file
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = esp32
|
|
||||||
lib_dir = .
|
lib_dir = .
|
||||||
src_dir = examples/CaptivePortal
|
src_dir = examples/CaptivePortal
|
||||||
; src_dir = examples/SimpleServer
|
; src_dir = examples/SimpleServer
|
||||||
|
|
||||||
[env:esp32]
|
[env:v660]
|
||||||
; platform = espressif32@6.6.0
|
platform = espressif32@6.6.0
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
[env:latest-espressif32]
|
||||||
|
platform = https://github.com/platformio/platform-espressif32.git
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
[env:latest-arduino]
|
||||||
|
platform = espressif32
|
||||||
|
platform_packages=
|
||||||
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master
|
||||||
|
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
[env:v300-rc1]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
platform_packages=
|
platform_packages=
|
||||||
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1
|
||||||
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
lib_deps =
|
|
||||||
bblanchon/ArduinoJson @ 7.0.4
|
[env:Jason2866]
|
||||||
mathieucarbou/Async TCP @ ^3.0.0
|
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
[env:esp8266]
|
[env:esp8266]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
|
Reference in New Issue
Block a user