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

Add PeripheralClockControl argument to timg, wdt, sha, usb-serial-jtag and uart constructors #463

Merged
merged 9 commits into from
Mar 31, 2023

Conversation

JurajSadel
Copy link
Contributor

This is not the prettiest PR but the majority of the changes are just because of formatting and I had to change every example.
Now we should have all driver's constructors with the PeripheralClockControl argument, but it's a breaking change.
I'm not sure how to make these changes in a different way. I tested uart, sha, usb-serial-jtag, timer_interrupt and wdt examples on all chips and everything seems to work fine for me.

closes ##410

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@JurajSadel JurajSadel merged commit 40bf086 into esp-rs:main Mar 31, 2023
i404788 pushed a commit to i404788/esp-hal that referenced this pull request Jul 22, 2023
…ial-jtag` and `uart` constructors (esp-rs#463)

* PeripheralClockControl timer

* Add PeripheralClockControl to timg, wdt, sha, usb-serial-jtag and uart

* ESP32 updated examples

* ESP32C2 updated examples

* ESP32C3 updated examples

* ESP32S2 updated examples

* ESP32S3 updated examples

* ESP32C6 updated examples

* cargo fmt
@JurajSadel JurajSadel deleted the fix/PeripheralClockControl branch April 10, 2024 15:29
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.

3 participants