diff options
Diffstat (limited to 'embassy-rp/Cargo.toml')
| -rw-r--r-- | embassy-rp/Cargo.toml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index f6b0900f2..8e4bb927f 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "embassy-rp" | 2 | name = "embassy-rp" |
| 3 | version = "0.8.0" | 3 | version = "0.9.0" |
| 4 | edition = "2021" | 4 | edition = "2024" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | description = "Embassy Hardware Abstraction Layer (HAL) for the Raspberry Pi RP2040 or RP235x microcontroller" | 6 | description = "Embassy Hardware Abstraction Layer (HAL) for the Raspberry Pi RP2040 or RP235x microcontroller" |
| 7 | keywords = ["embedded", "async", "rp235x", "rp2040", "embedded-hal"] | 7 | keywords = ["embedded", "async", "rp235x", "rp2040", "embedded-hal"] |
| @@ -47,7 +47,7 @@ rt = [ "rp-pac/rt" ] | |||
| 47 | defmt = ["dep:defmt", "embassy-usb-driver/defmt", "embassy-hal-internal/defmt"] | 47 | defmt = ["dep:defmt", "embassy-usb-driver/defmt", "embassy-hal-internal/defmt"] |
| 48 | ## Enable log support | 48 | ## Enable log support |
| 49 | log = ["dep:log"] | 49 | log = ["dep:log"] |
| 50 | ## Enable chrono support | 50 | ## Enable chrono support |
| 51 | chrono = ["dep:chrono"] | 51 | chrono = ["dep:chrono"] |
| 52 | 52 | ||
| 53 | ## Configure the [`critical-section`](https://docs.rs/critical-section) crate to use an implementation that is safe for multicore use on rp2040. | 53 | ## Configure the [`critical-section`](https://docs.rs/critical-section) crate to use an implementation that is safe for multicore use on rp2040. |
| @@ -104,7 +104,7 @@ boot2-w25x10cl = [] | |||
| 104 | ## Have embassy-rp not provide the boot2 so you can use your own. | 104 | ## Have embassy-rp not provide the boot2 so you can use your own. |
| 105 | ## Place your own in the ".boot2" section like: | 105 | ## Place your own in the ".boot2" section like: |
| 106 | ## ``` | 106 | ## ``` |
| 107 | ## #[link_section = ".boot2"] | 107 | ## #[unsafe(link_section = ".boot2")] |
| 108 | ## #[used] | 108 | ## #[used] |
| 109 | ## static BOOT2: [u8; 256] = [0; 256]; // Provide your own with e.g. include_bytes! | 109 | ## static BOOT2: [u8; 256] = [0; 256]; // Provide your own with e.g. include_bytes! |
| 110 | ## ``` | 110 | ## ``` |
| @@ -127,7 +127,7 @@ imagedef-nonsecure-exe = [] | |||
| 127 | ## ```ignore | 127 | ## ```ignore |
| 128 | ## use embassy_rp::block::ImageDef; | 128 | ## use embassy_rp::block::ImageDef; |
| 129 | ## | 129 | ## |
| 130 | ## #[link_section = ".start_block"] | 130 | ## #[unsafe(link_section = ".start_block")] |
| 131 | ## #[used] | 131 | ## #[used] |
| 132 | ## static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); // Update this with your own implementation. | 132 | ## static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); // Update this with your own implementation. |
| 133 | ## ``` | 133 | ## ``` |
| @@ -159,7 +159,6 @@ embassy-futures = { version = "0.1.2", path = "../embassy-futures" } | |||
| 159 | embassy-hal-internal = { version = "0.3.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-2"] } | 159 | embassy-hal-internal = { version = "0.3.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-2"] } |
| 160 | embassy-embedded-hal = { version = "0.5.0", path = "../embassy-embedded-hal" } | 160 | embassy-embedded-hal = { version = "0.5.0", path = "../embassy-embedded-hal" } |
| 161 | embassy-usb-driver = { version = "0.2.0", path = "../embassy-usb-driver" } | 161 | embassy-usb-driver = { version = "0.2.0", path = "../embassy-usb-driver" } |
| 162 | atomic-polyfill = "1.0.1" | ||
| 163 | defmt = { version = "1.0.1", optional = true } | 162 | defmt = { version = "1.0.1", optional = true } |
| 164 | log = { version = "0.4.14", optional = true } | 163 | log = { version = "0.4.14", optional = true } |
| 165 | nb = "1.1.0" | 164 | nb = "1.1.0" |
