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

Update all examples to remove unnecessary disabling of watchdogs #768

Merged
merged 8 commits into from
Aug 31, 2023

Conversation

jessebraham
Copy link
Member

This is a follow-up to #763. Sorry about this 😅

Updates all examples to no longer explicitly disable the watchdog timers, as this is done automatically at startup now. I tried to review this the best I could, so hopefully I haven't broken anything.

@jessebraham jessebraham added the skip-changelog No changelog modification needed label Aug 30, 2023
@bugadani
Copy link
Contributor

-6000 lines 😱

@bjoernQ
Copy link
Contributor

bjoernQ commented Aug 31, 2023

Looks good to me! The only thing is that the ram example relied on the watchdog to be enabled. So that needs a change now

@jessebraham
Copy link
Member Author

Ahh oops good catch, I'll get that fixed up. Thanks!

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 - Thanks! Nice to get rid of the boilerplate code

@jessebraham jessebraham merged commit d12a3db into esp-rs:main Aug 31, 2023
@jessebraham jessebraham deleted the fixes/examples branch August 31, 2023 14:18
playfulFence pushed a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
…-rs#768)

* Update `esp32-hal` examples

* Update `esp32c2-hal` examples

* Update `esp32c3-hal` examples

* Update `esp32c6-hal` examples

* Update `esp32h2-hal` examples

* Update `esp32s2-hal` examples

* Update `esp32s3-hal` examples

* Fix the `ram.rs` examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants