diff options
| -rw-r--r-- | docs/modules/ROOT/pages/faq.adoc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc index 8aa9a1a72..6032985fc 100644 --- a/docs/modules/ROOT/pages/faq.adoc +++ b/docs/modules/ROOT/pages/faq.adoc | |||
| @@ -4,6 +4,19 @@ These are a list of unsorted, commonly asked questions and answers. | |||
| 4 | 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! | 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 | 6 | ||
| 7 | == How to deploy to RP2040 without a debugging probe. | ||
| 8 | |||
| 9 | Install link:https://github.com/JoNil/elf2uf2-rs[elf2uf2-rs] for converting the generated elf binary into a uf2 file. | ||
| 10 | |||
| 11 | Configure the runner to use this tool, add this to `.cargo/config.toml`: | ||
| 12 | [source,toml] | ||
| 13 | ---- | ||
| 14 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | ||
| 15 | runner = "elf2uf2-rs --deploy --serial --verbose" | ||
| 16 | ---- | ||
| 17 | |||
| 18 | The command-line parameters `--deploy` will detect your device and upload the binary, `--serial` starts a serial connection. See the documentation for more info. | ||
| 19 | |||
| 7 | == Missing main macro | 20 | == Missing main macro |
| 8 | 21 | ||
| 9 | If you see an error like this: | 22 | If you see an error like this: |
