diff options
| author | James Munns <[email protected]> | 2024-01-02 18:44:41 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-02 18:44:41 +0100 |
| commit | 7dec3ccca4726ed42bf26dbd99d9f5d5dcf025b4 (patch) | |
| tree | 5854f6612e4ff124bc0cbbeba11c92ab513e556d /docs | |
| parent | 76c8a1133c165bf96a9c59db021fafc30ed64e3c (diff) | |
[FAQ]: Link to Arena configuration docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/ROOT/pages/faq.adoc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc index 1fe9bde37..fd355827b 100644 --- a/docs/modules/ROOT/pages/faq.adoc +++ b/docs/modules/ROOT/pages/faq.adoc | |||
| @@ -152,4 +152,10 @@ Note that the git revision should match any other embassy patches or git depende | |||
| 152 | * When using `InterruptExecutor`: | 152 | * When using `InterruptExecutor`: |
| 153 | ** disable `executor-thread` | 153 | ** disable `executor-thread` |
| 154 | ** make `main`` spawn everything, then enable link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html#method.set_sleeponexit[SCB.SLEEPONEXIT] and `loop { cortex_m::asm::wfi() }` | 154 | ** make `main`` spawn everything, then enable link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html#method.set_sleeponexit[SCB.SLEEPONEXIT] and `loop { cortex_m::asm::wfi() }` |
| 155 | ** *Note:* If you need 2 priority levels, using 2 interrupt executors is better than 1 thread executor + 1 interrupt executor. \ No newline at end of file | 155 | ** *Note:* If you need 2 priority levels, using 2 interrupt executors is better than 1 thread executor + 1 interrupt executor. |
| 156 | |||
| 157 | == How do I set up the task arenas on stable? | ||
| 158 | |||
| 159 | When you aren't using the `nightly` feature of `embassy-executor`, the executor uses a bump allocator, which may require configuration. | ||
| 160 | |||
| 161 | Check out link:https://docs.embassy.dev/embassy-executor/git/cortex-m/index.html#task-arena[Task Arena Documentation] for more details. | ||
