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

esp32c2 uses 26M crystal oscillator, resulting in delay errors #240

Closed
xiaguangbo opened this issue Mar 14, 2024 · 2 comments
Closed

esp32c2 uses 26M crystal oscillator, resulting in delay errors #240

xiaguangbo opened this issue Mar 14, 2024 · 2 comments

Comments

@xiaguangbo
Copy link

I should configure the crystal frequency in "menuconfig" mode, but I don't know how to do this under "esp-rs"

@SergioGasquez
Copy link
Member

If using a std project, which seems like you are since you opened this issue in std-training: https://docs.esp-rs.org/book/troubleshooting/espflash.html#if-you-are-building-an-esp-idf-sys-based-project

If using a no_std project, it should be automatically detected.

@xiaguangbo
Copy link
Author

in sdkconfig.defaults add CONFIG_XTAL_FREQ_26=y,cargo clean cargo run is ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants