Skip to content

Add some config options to the UART driver#99

Merged
jessebraham merged 4 commits into
esp-rs:mainfrom
bjoernQ:improve-uart-driver
Jul 12, 2022
Merged

Add some config options to the UART driver#99
jessebraham merged 4 commits into
esp-rs:mainfrom
bjoernQ:improve-uart-driver

Conversation

@bjoernQ

@bjoernQ bjoernQ commented Jul 11, 2022

Copy link
Copy Markdown
Contributor

This implement configuring the UART / serial driver and adds examples to show how to do that.

Additionally reading never worked on ESP32-S2 - this is fixed now

@bjoernQ bjoernQ requested a review from jessebraham July 11, 2022 10:28

@jessebraham jessebraham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left a few review comments, nothing too major. If you don't want to address them now (or ever 😁), that's fine.

As discussed offline it'd be nice to eliminate the NoPin type if possible, that that can be done in subsequent PR(s) if we do move forward with that.

Comment thread esp32-hal/src/lib.rs Outdated
Comment thread esp-hal-common/src/serial.rs Outdated
Comment thread esp-hal-common/src/serial.rs Outdated

@jessebraham jessebraham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for addressing my comments, as well as making the changes we discussed yesterday. I think this is looking pretty good!

@jessebraham jessebraham merged commit e612bd1 into esp-rs:main Jul 12, 2022
@bjoernQ bjoernQ deleted the improve-uart-driver branch October 27, 2022 14:22
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.

2 participants