Commit Graph

274 Commits

Author SHA1 Message Date
Stephan Hadinger fffcf1c2df Remove WiFiUDP32 to solve linker warnings 2022-01-14 22:53:19 +01:00
Theo Arends d6fc62e376 Add support for Linkind dimmer
Add support for Linkind dimmer as GPIO ``Option A6`` (#14004)
2022-01-07 16:17:53 +01:00
Theo Arends 40c92418e2 Fix upload version number detection 2022-01-01 14:38:13 +01:00
Theo Arends 3220332b1c Refactor serial config
Refactor serial config (#14212)
2021-12-30 14:39:22 +01:00
Theo Arends aaa87a037a Revert "Merge pull request #14153 from wir3z/development"
This reverts commit d9ab90a2f9, reversing
changes made to 7bf6e5a773.
2021-12-25 11:34:58 +01:00
wir3z 30d35b8c15 Moved kTasmotaSerialConfig to TasmotaSerial.h from Tasmota.h. 2021-12-22 12:23:17 -07:00
wir3z b8752b7272 TasmotaSerial:
- Added transmit parity to software TX.  Software RX just consumes in the incoming parity bit with no error checking.
- Fixed issue where Serial.begin for the ESP8266 was not passing the UART SerialConfig compatible values.

support.ino
- Cleanup to use already present ConvertSerialConfig API.

tasmota.ino:
- Force the baudrate + serial config settings after boot.  Previously, the baudrate would change, but any non 8N1 settings were not applied.

xdrv_08_serial_bridge.ino:
- Increased the software serial bridge buffer size and changed type to prevent overflow.
- Added missing serial config settings to the serial begin.  Previously was forcing 8N1.

xdrv_10_scripter.ino
- Cleanup to use already present ConvertSerialConfig API.
2021-12-22 09:23:15 -07:00
Theo Arends 4d05fb153c Remove BlockedLoop detection from ESP32 2021-12-04 17:39:04 +01:00
s-hadinger c8c21e9e37
Tcpbridge fix warning (#13651)
* Fix compiler warning

* Fix compiler warning
2021-11-12 09:43:55 +01:00
Barbudor e36b375fcb
Fix tcp bridge serial config (#13649)
* proper convert serial config

* fix arduino prototype parsing
2021-11-12 09:07:06 +01:00
Jason2866 e9e0e7a467 remove c3 serial workaround 2021-11-05 12:47:32 +01:00
Theo Arends 0b9221844e
Merge pull request #13565 from barbudor/pr_add_tcpbridgeconfig
Add command TCPConfig to TCPBridge
2021-11-05 09:48:41 +01:00
Theo Arends aa79f73aa9 Remove TWDT remnants 2021-11-04 17:41:03 +01:00
Barbudor 79f5c1285f add command tcpbridgeconfig 2021-11-04 17:14:34 +01:00
Theo Arends 8db8383d59 Generic fix for ESP32 I2C 2021-10-31 14:03:58 +01:00
Theo Arends 818f86809b Fix ESP32 core 2.0.1rc1 I2C stability
Fix ESP32 core 2.0.1rc1 I2C stability by performing new function wire.end() cleaning up SHT driver initiated GPIO changes. This solves HTU driver issue.
2021-10-31 12:58:28 +01:00
Theo Arends 45fcd8ac83 Add optional profiling 2021-10-29 18:49:29 +02:00
Theo Arends f8843acbde Fix ESP core 2.0.0 I2C exception 2021-10-28 15:57:24 +02:00
Stephan Hadinger f4dc0090b0 Move TWDT watchdog from esp-idf to Tasmota 2021-10-19 21:00:48 +02:00
Theo Arends eaeacbfa93 Fix negative heap fragmentation 2021-10-08 11:52:50 +02:00
Theo Arends 0f3a6297c6 Skip logging for unwanted log data
Skip logging for unwanted log data decreasing heap fragmentation (#13251)
2021-10-07 15:39:04 +02:00
Theo Arends 019ccae4d0 Add SO130 1 to show heap with logging timestamp 2021-10-04 17:12:42 +02:00
Theo Arends b82f098383 Remove interfering debug information 2021-10-02 14:49:50 +02:00
Theo Arends 2143491b37 Refactor Serial.swap 2021-09-20 14:31:00 +02:00
Barbudor 4fa80c1609 Serial.swap if TXD/RXD on GPIO13/15 (ESP8266) 2021-09-15 21:02:24 +02:00
Simon Hailes 0183376555 use type SemaphoreHandle_t where TasAutoMutex is used to silence new compiler warnings 2021-09-06 18:52:20 +01:00
Stephan Hadinger b58958b8c6 ESP32 add GPIO 6/7/8/11 to template and remove GPIO 28-31 (remapping so backwards compatible) 2021-09-05 19:43:53 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
Theo Arends c47307bd5e Add optional emergency reset
Add optional emergency reset when Rx is connected to Tx at restart
2021-09-02 12:25:53 +02:00
Theo Arends 1ab2b2c865 Fix influxdb id regression 2021-08-16 11:44:27 +02:00
Theo Arends 0d9678eef6 Refactor trim 2021-08-16 11:11:46 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 0f39fab3ae Influxdb add support for negative numbers 2021-08-14 16:28:20 +02:00
Theo Arends bde66e18c5 Fix influxdb parameter init 2021-08-13 16:35:24 +02:00
Stephan Hadinger 1bbf7b826a Mark GPIOs 16 and 17 as read on ESP32, as they are used for PSRAM 2021-07-18 15:00:11 +02:00
Theo Arends 5abadbf221 Fix ESP32 do not use chip temperature sensor as global temperature if external temperature sensor is used (#12630) 2021-07-13 16:44:28 +02:00
Theo Arends 0de0834bb6 Fix ESP32-C3 valid GPIO list 2021-06-29 17:38:46 +02:00
Theo Arends 6767a9809a Fix GUI console initial update time 2021-06-18 16:47:14 +02:00
Theo Arends 51def9790f
Merge pull request #12366 from s-hadinger/esp32c3_fix_template
Esp32c3 fix template command and Web UI
2021-06-15 08:16:35 +02:00
Stephan Hadinger b622c53cdd Esp32c3 fix template command and Web UI 2021-06-14 21:32:07 +02:00
Stephan Hadinger 980720b5a0 Esp32c3 fix wrong baudrate 2021-06-14 19:36:21 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 99a8c3d06a Allocate ESP8266 log buffer in iram heap space if available 2021-06-11 16:02:49 +02:00
Theo Arends 8693f5b0a8 Fix ESP32 bootloop regression 2021-06-11 10:04:27 +02:00
Theo Arends d0cd897ea0 Prep for larger log buffer 2021-06-10 18:06:11 +02:00
Theo Arends 446706f16d Prep for larger log buffer 2021-06-09 17:24:28 +02:00
Theo Arends 49b5ae71ca Change command ``Modules`` layout of JSON message changed to single line 2021-06-09 10:14:39 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00