aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/pages/faq.adoc
diff options
context:
space:
mode:
authorJuliDi <[email protected]>2023-12-05 10:10:47 +0100
committerJuliDi <[email protected]>2023-12-05 10:10:47 +0100
commit1f6ffdcdd2e760d91ed10fa63f6819b71579b2b4 (patch)
tree8d95e3d275aa822a0272eeef9df54b8030103572 /docs/modules/ROOT/pages/faq.adoc
parentbf7115cb4425959acd01d3e9a1d640a47948b2f9 (diff)
fix Cargo.toml and config.toml keys
Diffstat (limited to 'docs/modules/ROOT/pages/faq.adoc')
-rw-r--r--docs/modules/ROOT/pages/faq.adoc9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc
index 0999b6909..cab9fb9d8 100644
--- a/docs/modules/ROOT/pages/faq.adoc
+++ b/docs/modules/ROOT/pages/faq.adoc
@@ -142,10 +142,11 @@ Note that the git revision should match any other embassy patches or git depende
142* Make sure link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html[flash cache] is enabled 142* Make sure link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html[flash cache] is enabled
143* build with `--release` 143* build with `--release`
144* Set the following keys for the release profile in your `Cargo.toml`: 144* Set the following keys for the release profile in your `Cargo.toml`:
145 ** `opt-level=s` 145 ** `opt-level = "s"`
146 ** `lto=fat` 146 ** `lto = "fat"`
147 ** `build-std=core` 147* Set the following keys in the `[unstable]` section of your `.cargo/config.toml`
148 ** `build-std-features=panic_immediate_abort` 148 ** `build-std = ["core"]`
149 ** `build-std-features = ["panic_immediate_abort"]`
149* Enable feature `embassy-time/generic-queue`, disable feature `embassy-executor/integrated-timers` 150* Enable feature `embassy-time/generic-queue`, disable feature `embassy-executor/integrated-timers`
150* When using `InterruptExecutor`: 151* When using `InterruptExecutor`:
151 ** disable `executor-thread` 152 ** disable `executor-thread`