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

HardwareSerial::end(bool) review + Baud Rate detection review and example #8762

Merged

Conversation

SuGlider
Copy link
Collaborator

Description of Change

This PR removes UART pins detaching whenever it is used to detect baud rate.
Such feature only works with ESP32 and ESP32-S2.
It also fixes error message when trying to use ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 with baud rate detection.

In addition the PR also add an example about how to use baud rate detection feature.

Tests scenarios

Tested with ESP32 and ESP32-S2 UART0 using the Example provided in this PR.

Related links

None

@SuGlider SuGlider added this to the 3.0.0 milestone Oct 14, 2023
@SuGlider SuGlider self-assigned this Oct 14, 2023
Copy link
Collaborator

@lucasssvaz lucasssvaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the changes!

@VojtechBartoska VojtechBartoska added the Type: Example Issue is related to specific example. label Oct 16, 2023
@me-no-dev me-no-dev merged commit a8622c4 into espressif:master Oct 16, 2023
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Peripheral: UART Type: Example Issue is related to specific example.
Projects
Development

Successfully merging this pull request may close these issues.

4 participants