diff options
Diffstat (limited to 'docs/modules/ROOT/pages')
| -rw-r--r-- | docs/modules/ROOT/pages/faq.adoc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc new file mode 100644 index 000000000..5b58580d0 --- /dev/null +++ b/docs/modules/ROOT/pages/faq.adoc | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | = Frequently Asked Questions | ||
| 2 | |||
| 3 | These are a list of unsorted, commonly asked questions and answers. | ||
| 4 | |||
| 5 | Please feel free to add items to link:https://github.com/embassy-rs/embassy/edit/main/docs/modules/ROOT/pages/faq.adoc[this page], especially if someone in the chat answered a question for you! | ||
| 6 | |||
| 7 | == Missing main macro | ||
| 8 | |||
| 9 | If you see an error like this: | ||
| 10 | |||
| 11 | [source,rust] | ||
| 12 | --- | ||
| 13 | #[embassy_executor::main] | ||
| 14 | | ^^^^ could not find `main` in `embassy_executor` | ||
| 15 | --- | ||
| 16 | |||
| 17 | You are likely missing some features of the `embassy-executor` crate. | ||
| 18 | |||
| 19 | For Cortex-M targets, consider making sure that ALL of the following features are active in your `Cargo.toml` for the `embassy-executor` crate: | ||
| 20 | |||
| 21 | * `arch-cortex-m` | ||
| 22 | * `executor-thread` | ||
| 23 | * `nightly` | ||
| 24 | |||
