Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix T-Beam S3 USB CLI #3736 #3764

Merged

Conversation

oseiler2
Copy link
Contributor

@oseiler2 oseiler2 commented May 2, 2024

Fix for #3736

It seems that we do need ARDUINO_USB_CDC_ON_BOOT=1 after all in order for the CLI to work with the ESP32-S3. Otherwise I cannot get the S3 to read from USB Serial.

Issue #3650 that can cause the S3 to block on boot when no Serial is connected (and is triggered by ARDUINO_USB_CDC_ON_BOOT=1 in combination with ARDUINO_USB_MODE=1) has recently been fixed in arduino-esp32 @ 2.0.15 . I've confirmed that using platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.15

@oseiler2
Copy link
Contributor Author

oseiler2 commented May 2, 2024

I hope this finally fixes any issues around USB Serial while allowing to flash new FW without having to put the device in download mode first. Apologies for the issues this has been causing in the meantime.
I've tried to test a range of scenarios using my T-Beam S3, but keen to rule out any further issues if someone can think of anything else I can test.

@oseiler2 oseiler2 marked this pull request as ready for review May 2, 2024 09:41
@caveman99 caveman99 force-pushed the fix/3736-usb-cli-not-working branch from 36e6708 to 0f67562 Compare May 2, 2024 13:14
@thebentern thebentern merged commit 7140010 into meshtastic:master May 2, 2024
70 checks passed
@oseiler2 oseiler2 deleted the fix/3736-usb-cli-not-working branch May 2, 2024 19:07
@mverch67
Copy link
Collaborator

mverch67 commented May 2, 2024

This probably introduces a new issue: the device cannot work without serial connection...

@oseiler2
Copy link
Contributor Author

oseiler2 commented May 2, 2024

It does work without serial, I've tested that. The bug that causes serial to block has been fixed in the espressif arduino framework
Edit: Works for me, let me know if you find a problem with it please.

@oseiler2
Copy link
Contributor Author

oseiler2 commented May 2, 2024

thebentern added a commit that referenced this pull request May 6, 2024
thebentern added a commit that referenced this pull request May 6, 2024
tavdog pushed a commit to tavdog/meshtastic-firmware that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants