aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT
diff options
context:
space:
mode:
authorRalf <[email protected]>2024-02-12 19:29:29 +0100
committerRalf <[email protected]>2024-02-13 15:04:47 +0100
commitf9af0096bd6cd74853b8e5406d6135de2f5c8274 (patch)
tree57ff18985555b201f916cd73fe18dc29a035eed8 /docs/modules/ROOT
parentb7c1ad553fc093754e9ff2ca154642a3d1124b0d (diff)
FAQ add hint to embassy-time linker error to include HAL in linking
Diffstat (limited to 'docs/modules/ROOT')
-rw-r--r--docs/modules/ROOT/pages/faq.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc
index 7fb81e2ca..d55e63130 100644
--- a/docs/modules/ROOT/pages/faq.adoc
+++ b/docs/modules/ROOT/pages/faq.adoc
@@ -118,6 +118,13 @@ features = [
118] 118]
119---- 119----
120 120
121If 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----
125use embassy_stm32 as _;
126----
127
121== Error: `Only one package in the dependency graph may specify the same links value.` 128== Error: `Only one package in the dependency graph may specify the same links value.`
122 129
123You have multiple versions of the same crate in your dependency tree. This means that some of your 130You have multiple versions of the same crate in your dependency tree. This means that some of your