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

Use latest published release of esp-hal #74

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jessebraham
Copy link
Member

This project has fallen quite far behind, so I have updated all dependencies, namely esp-hal.

Unfortunately there seem to be some issues with UART, at least on the ESP32-C6 which is what I used for testing. USB is working however. Will need further investigation, but just opening a draft for now regardless.

Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! What are the issues you encountered?

src/main.rs Outdated
let peripherals = Peripherals::take();
let system = peripherals.SYSTEM.split();
let clocks = ClockControl::max(system.clock_control).freeze();
let peripherals = hal::init(hal::Config::default());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: not sure if there was any reason to use clocks at max speed, but we aren't using them now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters either but will update it just to keep it consistent with what we had, thanks

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the stub just times out if I try to use UART. Will test with some other chips in a bit and see if there's any difference.

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.

2 participants