Closed cdaringe closed 7 months ago
arch-std
feature of embassy-executor
generic-queue
feature of embassy-time
Update: generic-queue
might not be necessary, as you are using embassy-executor
after all, which has its own timer queue. Try first without it.
With that said, I find using embassy-executor
in a STD environment a bit controversial, as the code underneath your app does have support for the alloc
crate and is using heap allocs a lot anyway. Perhaps you are better off with async-executor
or edge-executor
. But that's just my opinion. In that case though you DO need generic-queue
as embassy-executor
and its embedded timer queue will not be around.
Also cannot recall right now if embassy-executor
did allow the instantiation of multiple "thread-mode" executors. If it doesn't (easily) it would be a pitty to pass on the option to have multiple (thread-local) executors, each with its own priority, which is very easy with async-executor
and edge-executor
.
Problem statement
Attempting to build with an embassy-executor & timing tasks fails with missing symbols.
Research
cargo run
yields:Key observations:
undefined reference to
__pender`undefined reference to
_embassy_time_schedule_wake'`