Commit Graph

284 Commits

Author SHA1 Message Date
Theo Arends 2add4d4712 Workaround HWCDC exception 2022-04-25 12:03:53 +02:00
Theo Arends 522bccb3e2 Initial support for USB serial
Initial support for USB serial when define ARDUINO_USB_CDC_ON_BOOT=1
2022-04-24 17:36:10 +02:00
Theo Arends b17d7bbdea Save another 500 bytes by moving from double to float 2022-04-19 15:44:53 +02:00
Theo Arends d71c1711f2 Add command ``SetOption139 0/1``
- Add command ``SetOption139 0/1`` to switch between pressure unit "mmHg" (0) or "inHg" (1) when ``SO24 1`` (#15350)
- Change double constants to float constants saving 200 bytes
2022-04-19 14:45:26 +02:00
Theo Arends 5a507a5c6e Fix HX711 false readings by removing large deviations 2022-04-06 15:09:35 +02:00
Theo Arends e047c90228 Add TasShiftIn function
Add TasShiftIn function for future use.
2022-04-03 18:20:07 +02:00
Theo Arends fbd8c861a3 Consolidate three RTC chip drivers into one driver
- Consolidate three RTC chip drivers (DS3231, BM8563, PCF85363) into one driver updating RTC as soon as possible after restart
- Removed command ``Sensor33`` and replaced by ``RtcNtpserver``
- define ``USE_RTC_ADDR`` into ``DS3231_ADDRESS``
2022-03-13 18:13:40 +01:00
Theo Arends c20bc70d1c Add support for PCF85363 RTC as used in Shelly 3EM
Add support for PCF85363 RTC as used in Shelly 3EM (#13515)
2022-03-12 17:38:49 +01:00
Theo Arends f218660b71 Revert CalVer in favour of SemVer 2022-02-05 15:50:04 +01:00
Stephan Hadinger 8f8f0aba42 Initial support for ESP32S3 with support for 38 configurable GPIOs 2022-02-01 12:05:56 +01:00
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