diff options
| author | 9names <[email protected]> | 2025-05-10 19:58:03 +1000 |
|---|---|---|
| committer | 9names <[email protected]> | 2025-05-10 20:03:09 +1000 |
| commit | ee71dda6317ef8de66b09612a020416466aeb2d3 (patch) | |
| tree | ae6baa132a41b54d49cd69696dc6d74f9753d7fd /embassy-rp/Cargo.toml | |
| parent | f9f20ae2174cb26d0f8926207d179041cfec2d2e (diff) | |
Clarify embassy-rp rt feature purpose
Diffstat (limited to 'embassy-rp/Cargo.toml')
| -rw-r--r-- | embassy-rp/Cargo.toml | 5 |
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] |
| 28 | default = [ "rt" ] | 28 | default = [ "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. | ||
| 30 | rt = [ "rp-pac/rt" ] | 33 | rt = [ "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. |
