aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Kleiber <[email protected]>2024-08-05 16:59:08 +0200
committerJoris Kleiber <[email protected]>2024-08-05 16:59:08 +0200
commit06872da5f8b26fee2f660340fb636766aba1e935 (patch)
tree7f56e7d9c0b521b14ea63b45d797034c5acbd8bd
parent059c7b582c29dd04b6f18d9fb1f4c091c1ab6c7d (diff)
Fix broken link to rp-pac and add link to critical-section in embassy-rp
-rw-r--r--embassy-rp/Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index f6c0fba2d..b7f5a2bcc 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -22,13 +22,13 @@ features = ["defmt", "unstable-pac", "time-driver"]
22 22
23[features] 23[features]
24default = [ "rt" ] 24default = [ "rt" ]
25## Enable the rt feature of [`rp-pac`](https://docs.rs/crates/rp-pac). This brings in the [`cortex-m-rt`](https://docs.rs/cortex-m-rt) crate, which adds startup code and minimal runtime initialization. 25## 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.
26rt = [ "rp-pac/rt" ] 26rt = [ "rp-pac/rt" ]
27 27
28## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers. 28## Enable [defmt support](https://docs.rs/defmt) and enables `defmt` debug-log messages and formatting in embassy drivers.
29defmt = ["dep:defmt", "embassy-usb-driver/defmt", "embassy-hal-internal/defmt"] 29defmt = ["dep:defmt", "embassy-usb-driver/defmt", "embassy-hal-internal/defmt"]
30 30
31## Configure the critical section crate to use an implementation that is safe for multicore use on rp2040. 31## Configure the [`critical-section`](https://docs.rs/critical-section) crate to use an implementation that is safe for multicore use on rp2040.
32critical-section-impl = ["critical-section/restore-state-u8"] 32critical-section-impl = ["critical-section/restore-state-u8"]
33 33
34## Reexport the PAC for the currently enabled chip at `embassy_rp::pac`. 34## Reexport the PAC for the currently enabled chip at `embassy_rp::pac`.