You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add a priority to the task in my project but the runtime reported an error.
So I run the embassy_multiprio example in esp32c3-hal
It compiles fine but gives an error when running.This is the same as the error reported in my project
!! A panic occured in 'C:\Users\User\.cargo\registry\src\index.crates.io-6f17d22bba15001f\embassy-executor-0.4.0\src\raw\mod.rs', at line 331, column 30
PanicInfo {
payload: Any { .. },
message: Some(
unwrap of `driver::allocate_alarm()` failed: NoneError,
),
location: Location {
file: "C:\\Users\\User\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\embassy-executor-0.4.0\\src\\raw\\mod.rs",
line: 331,
col: 30,
},
can_unwind: true,
force_no_backtrace: false,
}
Backtrace:
my Cargo.toml:
[package]
name = "c3-multipri-demo"
version = "0.1.0"
authors = ["Chen Yuheng <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
esp32c3-hal = { version = "0.14.0", features = ["async", "embassy", "embassy-executor-thread", "embassy-time-timg0","embassy-executor-interrupt"] }
esp-backtrace = { version = "0.9.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.7.1", features = ["esp32c3"] }
embassy-executor = { version = "0.4.0", features = ["nightly"] }
embassy-time = { version = "0.2.0"}
embassy-sync = "0.5.0"
embedded-hal-async = "=1.0.0-rc.2"
embedded-hal = "=1.0.0-rc.2"
embedded-io-async = "0.6.1"
static_cell = { version = "2.0.0", features = ["nightly"] }
critical-section = "1.1.2"
portable-atomic = "1.5.1"
The text was updated successfully, but these errors were encountered:
I tried to add a priority to the task in my project but the runtime reported an error.
So I run the
embassy_multiprio
example inesp32c3-hal
It compiles fine but gives an error when running.This is the same as the error reported in my project
my
Cargo.toml
:The text was updated successfully, but these errors were encountered: