File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,9 +74,11 @@ lib_deps =
7474
7575### LibreTiny (BK7231N/T, RTL8710B, etc.)
7676
77+ Version 1.9.1 or newer is required.
78+
7779``` ini
7880[env:stable]
79- platform = libretiny
81+ platform = libretiny @ ^1.9.1
8082lib_ldf_mode = chain
8183lib_deps =
8284 ESP32Async/AsyncTCP
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ build_flags = ${env.build_flags}
112112 -Wno-missing-field-initializers
113113
114114[env:libretiny]
115- platform = libretiny
115+ platform = libretiny @ ^1.9.1
116116board = generic-bk7231n-qfn32-tuya
117117; board = generic-rtl8710bn-2mb-788k
118118lib_deps =
@@ -168,7 +168,7 @@ build_flags = ${env.build_flags}
168168 -Wno-missing-field-initializers
169169
170170[env:ci-libretiny]
171- platform = libretiny
171+ platform = libretiny @ ^1.9.1
172172board = ${sysenv.PIO_BOARD}
173173lib_deps =
174174 ESP32Async/AsyncTCP @ 3.4.3
Original file line number Diff line number Diff line change @@ -1097,7 +1097,7 @@ class AsyncWebServer : public AsyncMiddlewareChain {
10971097 void end ();
10981098
10991099 tcp_state state () const {
1100- #if defined( ESP8266) || defined(LIBRETINY)
1100+ #ifdef ESP8266
11011101 // ESPAsyncTCP and RPAsyncTCP methods are not corrected declared with const for immutable ones.
11021102 return static_cast <tcp_state>(const_cast <AsyncWebServer *>(this )->_server .status ());
11031103#else
Original file line number Diff line number Diff line change 33
44#pragma once
55
6- #ifdef LIBRETINY
7- extern const String emptyStringForEspAsync;
8- #define emptyString emptyStringForEspAsync
9- #endif
10-
116namespace asyncsrv {
127
138static constexpr const char *empty = " " ;
You can’t perform that action at this time.
0 commit comments