Skip to content

Commit 57344f1

Browse files
committed
Add __pender error to the FAQ
1 parent c65b6db commit 57344f1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/pages/faq.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ If you are in the early project setup phase and not using anything from the HAL,
117117
use embassy_stm32 as _;
118118
----
119119

120+
Another common error you may experience is:
121+
122+
[source,text]
123+
= note: rust-lld: error: undefined symbol: __pender
124+
>>> referenced by mod.rs:373 (src/raw/mod.rs:373)
125+
>>> embassy_executor-e78174e249bca7f4.embassy_executor.1e9d60fc90940543-cgu.0.rcgu.o:(embassy_executor::raw::Pender::pend::h0f19b6e01762e4cd) in archive [...]libembassy_executor-e78174e249bca7f4.rlib
126+
127+
There are two possible causes to this error:
128+
129+
* You are using `embassy-executor` withuout enabling one of the architecture-specific features, but you are using a HAL that does not bring its own executors. For example, for Cortex-M (like the RP2040), you need to enable the `arch-cortex-m` feature of `embassy-executor`.
130+
* You are not using `embassy-executor`. In this case, you need to enable the one of the `generic-queue-X` features of `embassy-time`.
131+
120132
== Error: `Only one package in the dependency graph may specify the same links value.`
121133

122134
You have multiple versions of the same crate in your dependency tree. This means that some of your

0 commit comments

Comments
 (0)