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

fix(embassy): avoid setting tick feature in hal #36

Merged
merged 3 commits into from
Aug 19, 2024
Merged

Conversation

andelf
Copy link
Contributor

@andelf andelf commented Jul 4, 2024

See-also: #6

Needs more verification.

Update:

  • Use PFIC_SCTLR.SEVONPEND fix - as WCH's Qingke-RV is not the same as standard RISC-V, this might be the point.
  • Remove tick-hz_* features from -hal
  • Update embassy dependencies

Cargo.toml Outdated
embassy-time-driver = { version = "0.1.0", features = [
"tick-hz-1_000_000",
], optional = true }
embassy-time-driver = { version = "0.1.0", optional = true }
embassy-time = { version = "0.3.0", features = [
"tick-hz-1_000_000",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that the tick feature should also be removed for emabssy-time.
And we might need to add the feature in the examples, as done in embassy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the comment. I'm back from holidays.

I'll get this merged soon.

@andelf andelf force-pushed the fix/systick-stuck branch 2 times, most recently from 4c8c8c7 to 5c64390 Compare August 9, 2024 12:24
@andelf andelf force-pushed the fix/systick-stuck branch from 5c64390 to c816eb7 Compare August 19, 2024 13:41
@andelf andelf merged commit ecfcb97 into main Aug 19, 2024
1 check passed
@andelf andelf deleted the fix/systick-stuck branch August 19, 2024 13:55
@romainreignier romainreignier mentioned this pull request Aug 29, 2024
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