aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp
diff options
context:
space:
mode:
author9names <[email protected]>2025-05-10 19:58:03 +1000
committer9names <[email protected]>2025-05-10 20:03:09 +1000
commitee71dda6317ef8de66b09612a020416466aeb2d3 (patch)
treeae6baa132a41b54d49cd69696dc6d74f9753d7fd /embassy-rp
parentf9f20ae2174cb26d0f8926207d179041cfec2d2e (diff)
Clarify embassy-rp rt feature purpose
Diffstat (limited to 'embassy-rp')
-rw-r--r--embassy-rp/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index b440591cf..8fb8a50fd 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -26,7 +26,10 @@ features = ["defmt", "unstable-pac", "time-driver", "rp2040"]
26 26
27[features] 27[features]
28default = [ "rt" ] 28default = [ "rt" ]
29## Enable the rt feature of [`rp-pac`](https://docs.rs/rp-pac). This brings in the [`cortex-m-rt`](https://docs.rs/cortex-m-rt) crate, which adds startup code and minimal runtime initialization. 29
30## Enable the `rt` feature of [`rp-pac`](https://docs.rs/rp-pac).
31## With `rt` enabled the PAC provides interrupt vectors instead of letting [`cortex-m-rt`](https://docs.rs/cortex-m-rt) do that.
32## See <https://docs.rs/cortex-m-rt/latest/cortex_m_rt/#device> for more info.
30rt = [ "rp-pac/rt" ] 33rt = [ "rp-pac/rt" ]
31 34
32## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers. 35## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers.