Update changelogs

This commit is contained in:
Theo Arends 2024-04-12 16:01:00 +02:00
parent 8736544a81
commit 5cb3ea2114
4 changed files with 15 additions and 1 deletions

View File

@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
- ESP32 Core3 platform update from 2024.02.10 to 2024.04.10 (#21114) - ESP32 Core3 platform update from 2024.02.10 to 2024.04.10 (#21114)
- ESP32 Core3 platform update from 2024.04.10 to 2024.04.11 (#21142) - ESP32 Core3 platform update from 2024.04.10 to 2024.04.11 (#21142)
- SGP4x Domoticz air quality value from raw to computed (#18880) - SGP4x Domoticz air quality value from raw to computed (#18880)
- ESP32 Framework (Arduino Core) from v2.0.14 to v2.0.15
### Fixed ### Fixed
- NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device (#21098) - NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device (#21098)

View File

@ -151,6 +151,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- LVGL remove `textarea` and `spinbox` from binaries [#20916](https://github.com/arendst/Tasmota/issues/20916) - LVGL remove `textarea` and `spinbox` from binaries [#20916](https://github.com/arendst/Tasmota/issues/20916)
### Changed ### Changed
- ESP32 Framework (Arduino Core) from v2.0.14 to v2.0.15
- ESP32 Core3 platform update from 2024.01.12 to 2024.04.11 [#21142](https://github.com/arendst/Tasmota/issues/21142) - ESP32 Core3 platform update from 2024.01.12 to 2024.04.11 [#21142](https://github.com/arendst/Tasmota/issues/21142)
- ESP32 LVGL library from v9.0.0 to v9.1.0 [#21008](https://github.com/arendst/Tasmota/issues/21008) - ESP32 LVGL library from v9.0.0 to v9.1.0 [#21008](https://github.com/arendst/Tasmota/issues/21008)
- Refactor Platformio script `post_esp32.py` [#20966](https://github.com/arendst/Tasmota/issues/20966) - Refactor Platformio script `post_esp32.py` [#20966](https://github.com/arendst/Tasmota/issues/20966)

View File

@ -21,6 +21,7 @@ class TASCONSOLE {
virtual size_t printf(char *) = 0; virtual size_t printf(char *) = 0;
virtual size_t read() = 0; virtual size_t read() = 0;
virtual size_t setRxBufferSize(size_t) = 0; virtual size_t setRxBufferSize(size_t) = 0;
virtual size_t setTxBufferSize(size_t) = 0;
}; };
public: public:
@ -65,6 +66,10 @@ public:
return object->setRxBufferSize(rx_queue_len); return object->setRxBufferSize(rx_queue_len);
} }
size_t setTxBufferSize(size_t rx_queue_len) {
return object->setTxBufferSize(rx_queue_len);
}
template< typename T > template< typename T >
struct Model : Concept { struct Model : Concept {
Model(T const& t) : object(t) {} Model(T const& t) : object(t) {}
@ -102,6 +107,11 @@ public:
size_t setRxBufferSize(size_t size) override { size_t setRxBufferSize(size_t size) override {
return object.setRxBufferSize(size); return object.setRxBufferSize(size);
} }
size_t setTxBufferSize(size_t size) override {
return object.setTxBufferSize(size);
}
private: private:
T object; T object;
}; };

View File

@ -227,7 +227,9 @@ bool tasconsole_serial = false;
#if ARDUINO_USB_MODE #if ARDUINO_USB_MODE
//#warning **** TasConsole ARDUINO_USB_MODE **** //#warning **** TasConsole ARDUINO_USB_MODE ****
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,1,3)) #if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,1,3))
#if !ARDUINO_USB_CDC_ON_BOOT
HWCDC HWCDCSerial; HWCDC HWCDCSerial;
#endif // ARDUINO_USB_CDC_ON_BOOT
#endif #endif
TASCONSOLE TasConsole{HWCDCSerial}; // ESP32C3/C6/S3 embedded USB using JTAG interface TASCONSOLE TasConsole{HWCDCSerial}; // ESP32C3/C6/S3 embedded USB using JTAG interface
//#warning **** TasConsole uses HWCDC **** //#warning **** TasConsole uses HWCDC ****
@ -539,7 +541,7 @@ void setup(void) {
if (is_connected_to_USB) { if (is_connected_to_USB) {
TasConsole.setRxBufferSize(INPUT_BUFFER_SIZE); TasConsole.setRxBufferSize(INPUT_BUFFER_SIZE);
// TasConsole.setTxBufferSize(INPUT_BUFFER_SIZE); // TasConsole.setTxBufferSize(INPUT_BUFFER_SIZE);
TasConsole.begin(115200); // Will always be 115200 bps TasConsole.begin(115200); // Will always be 115200 bps
#if !ARDUINO_USB_MODE #if !ARDUINO_USB_MODE
USB.begin(); // This needs a serial console with DTR/DSR support USB.begin(); // This needs a serial console with DTR/DSR support