diff options
author | 2019-08-21 12:33:04 +0200 | |
---|---|---|
committer | 2019-08-21 12:33:04 +0200 | |
commit | 996bdf8f0c18fe86f2649dd43f7019c4f6ad1bb2 (patch) | |
tree | d77c07334ce3b54c80307d5130759b32de93523d | |
parent | 45f9faae9c51c8d84c939a9e00985388fc1d2cdf (diff) | |
download | rtic-996bdf8f0c18fe86f2649dd43f7019c4f6ad1bb2.tar.gz rtic-996bdf8f0c18fe86f2649dd43f7019c4f6ad1bb2.tar.zst rtic-996bdf8f0c18fe86f2649dd43f7019c4f6ad1bb2.zip |
doc tweaks
-rw-r--r-- | book/en/src/by-example/app.md | 4 | ||||
-rw-r--r-- | macros/src/lib.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 5 |
3 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 02c49b15..ebb71f1b 100644 --- a/book/en/src/by-example/app.md +++ b/book/en/src/by-example/app.md @@ -10,8 +10,8 @@ All RTFM applications use the [`app`] attribute (`#[app(..)]`). This attribute must be applied to a `const` item that contains items. 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**. The `app` attribute will expand into a suitable entry point so it's -not required to use the [`cortex_m_rt::entry`] attribute. +**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. [`app`]: ../../api/cortex_m_rtfm_macros/attr.app.html [`svd2rust`]: https://crates.io/crates/svd2rust diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 6675765b..fdde5c69 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -22,11 +22,11 @@ mod tests; /// The `app` attribute has one mandatory argument: /// /// - `device = <path>`. The path must point to a device crate generated using [`svd2rust`] -/// **v0.14.x**. +/// **v0.14.x** or newer. /// /// [`svd2rust`]: https://crates.io/crates/svd2rust /// -/// and several optional arguments: +/// and a few optional arguments: /// /// - `peripherals = <bool>`. Indicates whether the runtime takes the device peripherals and makes /// them available to the `init` context. @@ -31,7 +31,10 @@ //! //! # Cargo features //! -//! - `heterogeneous`. This opt-in feature enables the *experimental* heterogeneous multi-core support. +//! - `heterogeneous`. This opt-in feature enables the *experimental* heterogeneous multi-core +//! support. This feature depends on unstable feature and requires the use of the nightly channel. +//! +//! - `homogeneous`. This opt-in feature enables the *experimental* homogeneous multi-core support. #![deny(missing_docs)] #![deny(rust_2018_compatibility)] |