Skip to content

Commit f989536

Browse files
authored
Merge pull request #15 from playmiel/dev
1.1.1
2 parents 6134ff9 + f453b2f commit f989536

14 files changed

Lines changed: 36 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
111111
[env]
112112
framework = arduino
113+
platform_packages =
114+
framework-arduinoespressif32@^3
113115
build_flags =
114116
-DCOMPILE_TEST_ONLY
115117
-Wall

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676
7777
[env]
7878
framework = arduino
79+
platform_packages =
80+
framework-arduinoespressif32@^3
7981
lib_deps =
8082
${{ matrix.async-tcp-repo }}
8183
bblanchon/ArduinoJson@^6.21.0
@@ -116,7 +118,8 @@ jobs:
116118
include:
117119
- platform: esp32dev
118120
framework-version: "espressif32"
119-
name: "Latest Stable (2.x)"
121+
platform-packages: "framework-arduinoespressif32@^3"
122+
name: "ESP32 Arduino Core 3.x"
120123
steps:
121124
- uses: actions/checkout@v4
122125

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An asynchronous HTTP client library for ESP32 microcontrollers, built on top of
1616
-**Multiple HTTP methods** - GET, POST, PUT, DELETE, HEAD, PATCH support
1717
-**Custom headers** - Set global and per-request headers
1818
-**Callback-based responses** - Success and error callbacks
19-
-**ESP32 only**(ESP8266 support removed since 1.0.1)
19+
-**ESP32 only**Arduino-ESP32 core 3.x required (core 2.x dropped; ESP8266 removed since 1.0.1)
2020
-**Simple API** - Easy to use with minimal setup
2121
-**Configurable timeouts** - Set custom timeout values
2222
-**Multiple simultaneous requests** - Handle multiple requests concurrently
@@ -37,6 +37,8 @@ Add to your `platformio.ini`:
3737
lib_deps =
3838
https://github.com/ESP32Async/AsyncTCP.git
3939
https://github.com/playmiel/ESPAsyncWebClient.git
40+
platform_packages =
41+
framework-arduinoespressif32@^3
4042
```
4143

4244
### Arduino IDE
@@ -45,6 +47,7 @@ lib_deps =
4547
2. In Arduino IDE: Sketch → Include Library → Add .ZIP Library
4648
3. Install the dependencies:
4749
- For ESP32: [AsyncTCP by ESP32Async](https://github.com/ESP32Async/AsyncTCP)
50+
4. Make sure you have the ESP32 Arduino core 3.x installed from the Boards Manager (core 2.x is not supported)
4851

4952

5053
## Quick Start
@@ -412,7 +415,7 @@ Common HTTPS errors:
412415
## Dependencies
413416

414417
- **ESP32**: [AsyncTCP by ESP32Async](https://github.com/ESP32Async/AsyncTCP)
415-
- **Arduino Core**: ESP32 (v2.0+)
418+
- **Arduino Core**: ESP32 (v3.0+)
416419

417420
> **Note**: ESP8266 was mentioned in early docs but is no longer supported as of 1.0.1. The code exclusively targets AsyncTCP (ESP32).
418421

examples/platformio/CompileTest/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

examples/platformio/CustomHeaders/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

examples/platformio/MultipleRequests/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

examples/platformio/PostWithData/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

examples/platformio/SimpleGet/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

examples/platformio/SimpleHttpsGet/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
; Facilite la gestion des timeouts si votre AsyncTCP n'a pas setTimeout

examples/platformio/StreamingUpload/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
platform = espressif32
33
board = esp32dev
44
framework = arduino
5+
platform_packages =
6+
framework-arduinoespressif32@^3
57
monitor_speed = 115200
68

79
lib_deps =

0 commit comments

Comments
 (0)