Skip to content

Commit cd2a5aa

Browse files
committed
Use official AsyncTCP ^v3.4.3 for LibreTiny
1 parent 53b82c2 commit cd2a5aa

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ lib_deps =
7272
ESP32Async/ESPAsyncWebServer
7373
```
7474

75+
### LibreTiny (BK7231N/T, RTL8710B, etc.)
76+
77+
```ini
78+
[env:stable]
79+
platform = libretiny
80+
lib_ldf_mode = chain
81+
lib_deps =
82+
ESP32Async/AsyncTCP
83+
ESP32Async/ESPAsyncWebServer
84+
```
85+
7586
### Unofficial dependencies
7687

7788
**AsyncTCPSock**
@@ -108,18 +119,6 @@ build_flags = ${env.build_flags}
108119
-Wno-missing-field-initializers
109120
```
110121

111-
**AsyncTCP-esphome**
112-
113-
AsyncTCP-esphome replaces AsyncTCP to provide support for LibreTiny platform (BK72xx, RTL87xx). The dependency is automatically enabled with ESPAsyncWebServer.
114-
115-
```ini
116-
platform = libretiny
117-
board = generic-bk7231n-tuya-qfn32
118-
lib_deps =
119-
esphome/AsyncTCP-esphome@^2.1.4
120-
ESP32Async/ESPAsyncWebServer
121-
```
122-
123122
## Important recommendations for build options
124123

125124
Most of the crashes are caused by improper use or configuration of the AsyncTCP library used for the project.

library.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
{
2626
"owner": "ESP32Async",
2727
"name": "AsyncTCP",
28-
"version": "^3.4.2",
29-
"platforms": "espressif32"
28+
"version": "^3.4.3",
29+
"platforms": [
30+
"espressif32",
31+
"libretiny"
32+
]
3033
},
3134
{
3235
"owner": "ESP32Async",
@@ -43,12 +46,6 @@
4346
"name": "RPAsyncTCP",
4447
"version": "^1.3.2",
4548
"platforms": "raspberrypi"
46-
},
47-
{
48-
"owner": "esphome",
49-
"name": "AsyncTCP-esphome",
50-
"version": "^2.1.4",
51-
"platforms": "libretiny"
5249
}
5350
],
5451
"export": {

0 commit comments

Comments
 (0)