arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.8k stars 4.73k forks source link

Update esp32 platform to 2024.04.14 #21299

Closed Jason2866 closed 3 months ago

Jason2866 commented 3 months ago

Description:

Updated HWCDC code in Arduino. Should fix boot stuck issues with ESP32-S3

@fyi @s-hadinger

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

Jason2866 commented 3 months ago

Does not fix at all. Still issues with S3.

Staars commented 3 months ago

The most recent code changes in Arduino's HWCDC class require some refactoring in Tasmotas USB connection check, if we want to use Arduino's API.

New way is:

  1. Always start USB CDC console.
  2. Check for plugged USB cable using the Arduino API
  3. a) if USB connection is detected proceed with already initialised HWCDC console b) if NO connection is detected - deinit HWCDC and fall back to serial.