File tree Expand file tree Collapse file tree 5 files changed +6
-13
lines changed Expand file tree Collapse file tree 5 files changed +6
-13
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 @@ -110,7 +110,7 @@ build_flags = ${env.build_flags}
110
110
-Wno-missing-field-initializers
111
111
112
112
[env:libretiny]
113
- platform = libretiny
113
+ platform = libretiny @ ^1.9.1
114
114
board = generic-bk7231n-qfn32-tuya
115
115
; board = generic-rtl8710bn-2mb-788k
116
116
lib_deps =
@@ -166,7 +166,7 @@ build_flags = ${env.build_flags}
166
166
-Wno-missing-field-initializers
167
167
168
168
[env:ci-libretiny]
169
- platform = libretiny
169
+ platform = libretiny @ ^1.9.1
170
170
board = ${sysenv.PIO_BOARD}
171
171
lib_deps =
172
172
ESP32Async/AsyncTCP @ 3.4.3
Original file line number Diff line number Diff line change @@ -1100,7 +1100,7 @@ class AsyncWebServer : public AsyncMiddlewareChain {
1100
1100
void end ();
1101
1101
1102
1102
tcp_state state () const {
1103
- #if defined( ESP8266) || defined(LIBRETINY)
1103
+ #ifdef ESP8266
1104
1104
// ESPAsyncTCP and RPAsyncTCP methods are not corrected declared with const for immutable ones.
1105
1105
return static_cast <tcp_state>(const_cast <AsyncWebServer *>(this )->_server .status ());
1106
1106
#else
Original file line number Diff line number Diff line change 4
4
#include " ESPAsyncWebServer.h"
5
5
#include " WebHandlerImpl.h"
6
6
7
- #ifdef LIBRETINY
8
- const String emptyStringForEspAsync;
9
- #endif
10
-
11
7
using namespace asyncsrv ;
12
8
13
9
bool ON_STA_FILTER (AsyncWebServerRequest *request) {
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