diff options
| author | Ulf Lilleengen <[email protected]> | 2025-05-13 13:59:02 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-13 13:59:02 +0200 |
| commit | 575eab3c60c0d2098f9e9d2a22429aa174b6b968 (patch) | |
| tree | 332add2d467f7559e7bd862cf38331cdba6b563e | |
| parent | 1c8786ceeddfe0b80c287ecf411ce1f055b9ec18 (diff) | |
| parent | ee71dda6317ef8de66b09612a020416466aeb2d3 (diff) | |
Merge pull request #4185 from 9names/update_rp_rt_feature_docs
Clarify embassy-rp rt feature purpose
| -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. |
