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

esp32c3: disable wdts in post_init #704

Closed
wants to merge 1 commit into from

Conversation

MabezDev
Copy link
Member

@MabezDev MabezDev commented Jul 31, 2023

An exploration of something @jessebraham was looking into. This greatly simplifies the boilerplate for each example, by disabling the watchdogs before main. The watchdogs are enabled as a side effect of the ROM/second stage bootloader.

I probably won't finish this PR, but I hope it serves as a guide if someone wants to take on the rest of the chips :).

This will also require some changes in xtensa-lx-rt, to add __post_init support.

Thank you!

Thank you for your contribution.
Please make sure that your submission includes the following:

Must

  • The code compiles without errors or warnings.
  • All examples work.
  • cargo fmt was run.
  • Your changes were added to the CHANGELOG.md in the proper section.
  • You updated existing examples or added examples (if applicable).
  • Added examples are checked in CI

Nice to have

  • You add a description of your work to this PR.
  • You added proper docs for your newly added features and code.

@jessebraham
Copy link
Member

I'm working on a follow-up to this

@jessebraham
Copy link
Member

I've opened #763 which supersedes this, but thanks for this stepping stone!

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.

None yet

2 participants