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 hangs #72

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/embassy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ pub mod time_driver_impl;
/// The WCH QingKe RISC-V core deviates from standard RISC-V specification:
/// - `WFI` instruction will not wake up from disabled interrupts
/// - Either `WFITOWFE` or `SEVONPEND` must be enabled for proper wake-up behavior
///
/// `WFITOWFE` is configured in `qingke-rt`, so no additional setup needed here
pub unsafe fn init() {
// crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true));
crate::pac::PFIC.sctlr().modify(|w| w.set_sevonpend(true));

#[cfg(all(qingke_v4, not(time_driver_timer)))]
time_driver_impl::init();
Expand Down
Loading