File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,11 @@ lib_deps =
74
74
75
75
### LibreTiny (BK7231N/T, RTL8710B, etc.)
76
76
77
+ Version 1.9.1 or newer is required.
78
+
77
79
``` ini
78
80
[env:stable]
79
- platform = libretiny
81
+ platform = libretiny @ ^1.9.1
80
82
lib_ldf_mode = chain
81
83
lib_deps =
82
84
ESP32Async/AsyncTCP
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ build_flags = ${env.build_flags}
112
112
-Wno-missing-field-initializers
113
113
114
114
[env:libretiny]
115
- platform = libretiny
115
+ platform = libretiny @ ^1.9.1
116
116
board = generic-bk7231n-qfn32-tuya
117
117
; board = generic-rtl8710bn-2mb-788k
118
118
lib_deps =
@@ -168,7 +168,7 @@ build_flags = ${env.build_flags}
168
168
-Wno-missing-field-initializers
169
169
170
170
[env:ci-libretiny]
171
- platform = libretiny
171
+ platform = libretiny @ ^1.9.1
172
172
board = ${sysenv.PIO_BOARD}
173
173
lib_deps =
174
174
ESP32Async/AsyncTCP @ 3.4.3
Original file line number Diff line number Diff line change @@ -1097,7 +1097,7 @@ class AsyncWebServer : public AsyncMiddlewareChain {
1097
1097
void end ();
1098
1098
1099
1099
tcp_state state () const {
1100
- #if defined( ESP8266) || defined(LIBRETINY)
1100
+ #ifdef ESP8266
1101
1101
// ESPAsyncTCP and RPAsyncTCP methods are not corrected declared with const for immutable ones.
1102
1102
return static_cast <tcp_state>(const_cast <AsyncWebServer *>(this )->_server .status ());
1103
1103
#else
Original file line number Diff line number Diff line change 3
3
4
4
#pragma once
5
5
6
- #ifdef LIBRETINY
7
- extern const String emptyStringForEspAsync;
8
- #define emptyString emptyStringForEspAsync
9
- #endif
10
-
11
6
namespace asyncsrv {
12
7
13
8
static constexpr const char *empty = " " ;
You can’t perform that action at this time.
0 commit comments