-
Notifications
You must be signed in to change notification settings - Fork 254
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
Can we auto detect xtal reliably at runtime? #1164
Comments
Note that if this does work, we'd need to impl for the esp32c6, esp32h2 and esp32p4. |
In theory, if we can detect the xtal freq, replace the cfgs here: esp-hal/esp-hal/src/clock/mod.rs Lines 389 to 392 in ebdd59b
with autodetection code |
Merged
Merged
Closed via #1165 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed the existence of
esp-hal/esp-hal/src/rtc_cntl/mod.rs
Lines 636 to 657 in ebdd59b
If we can reliably estimate the xtal freq, we could remove the annoying features we need to supply for the HALs and all the work arounds we do in espflash.
The text was updated successfully, but these errors were encountered: