Skip to content

Commit f9af009

Browse files
committed
FAQ add hint to embassy-time linker error to include HAL in linking
1 parent b7c1ad5 commit f9af009

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/modules/ROOT/pages/faq.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ features = [
118118
]
119119
----
120120

121+
If you are in the early project setup phase and not using anything from the HAL, make sure the HAL is passed to the linker by adding this line to your source:
122+
123+
[source,rust]
124+
----
125+
use embassy_stm32 as _;
126+
----
127+
121128
== Error: `Only one package in the dependency graph may specify the same links value.`
122129

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

0 commit comments

Comments
 (0)