-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/esp32: use ESP-IDF timer HAL for system timer and watchdog #18267
cpu/esp32: use ESP-IDF timer HAL for system timer and watchdog #18267
Conversation
cpu/esp32/syscalls.c
Outdated
__func__, TIMERG0.wdt_config0.val, TIMERG0.wdt_config1.val, | ||
TIMERG0.wdt_config2); | ||
/* initialize and disable boot watchdogs MWDT and RWDT */ | ||
wdt_hal_init(&mwdt, WDT_MWDT0, 80, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 80? - better keep the previous comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase, just re-add the comment explaining the watchdog prescaler choice
457af42
to
ef7c83b
Compare
Rebased and comment added. May I squash? |
Sure, squash away! |
b93ef91
to
79638e3
Compare
Needs a rebase, but if everything still works with the latest changes feel free to hit the merge button - I'll be back in 1½ weeks. |
79638e3
to
ae48cfc
Compare
Since the compilation in Murdock failed only because of the hash problem, which definitely has nothing to do with this PR, I re-run Murdock without compilation test.
|
@benpicco Thanks for reviewing and mergindg. |
Contribution description
This PR is a split-off from PR #17841. It contains the changes to use the ESP-IDF timer HAL for the system timer and the watchdog.
Testing procedure
Issues/PRs references
Split-off from PR #17841