diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2020-10-15 17:55:00 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2020-10-15 17:55:00 +0200 |
| commit | 5ac16f6aae7c4760711b1eef5cbaf1c57c5933ca (patch) | |
| tree | ad2e1b0ac81f3ffebe73edcf62b8cc4472eaff13 /book/en/src/by-example/app.md | |
| parent | 5b8e6a22ab68e316e11641dedf5b39e20878c7b7 (diff) | |
| parent | ee0885063d5b1cc4eddd3918ff425796f6213464 (diff) | |
Merge branch 'master' into spawn_experiment
Diffstat (limited to 'book/en/src/by-example/app.md')
| -rw-r--r-- | book/en/src/by-example/app.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md index ab6f452..c4f18c7 100644 --- a/book/en/src/by-example/app.md +++ b/book/en/src/by-example/app.md @@ -7,11 +7,14 @@ This is the smallest possible RTIC application: ``` All RTIC applications use the [`app`] attribute (`#[app(..)]`). This attribute -must be applied to a `mod`-item. The `app` attribute has -a mandatory `device` argument that takes a *path* as a value. This path must -point to a *peripheral access crate* (PAC) generated using [`svd2rust`] -**v0.14.x** or newer. The `app` attribute will expand into a suitable entry -point so it's not required to use the [`cortex_m_rt::entry`] attribute. +must be applied to a `mod`-item. The `app` attribute has a mandatory `device` +argument that takes a *path* as a value. This must be a full path pointing to a +*peripheral access crate* (PAC) generated using [`svd2rust`] **v0.14.x** or +newer. More details can be found in the [Starting a new project](./new.md) +section. + +The `app` attribute will expand into a suitable entry point so it's not required +to use the [`cortex_m_rt::entry`] attribute. [`app`]: ../../../api/cortex_m_rtic_macros/attr.app.html [`svd2rust`]: https://crates.io/crates/svd2rust |
