diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-10 15:51:33 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-10 15:51:33 +0000 |
| commit | 39c737162185adb4f30f18f700da08a55be6b55a (patch) | |
| tree | 69c591be4841ab1c8fd5046bee0d399133c4577c | |
| parent | b3367be9c8f0eb54d500dc2e6f652ade05859088 (diff) | |
| parent | 4647df14b16c95ef56bf2e6cc4303583be3b4846 (diff) | |
Merge pull request #2163 from embassy-rs/update-heapless
Update heapless to v0.8
31 files changed, 39 insertions, 42 deletions
diff --git a/embassy-net-adin1110/Cargo.toml b/embassy-net-adin1110/Cargo.toml index 08c6aabd3..3f016160d 100644 --- a/embassy-net-adin1110/Cargo.toml +++ b/embassy-net-adin1110/Cargo.toml | |||
| @@ -10,7 +10,7 @@ edition = "2021" | |||
| 10 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | 10 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 11 | 11 | ||
| 12 | [dependencies] | 12 | [dependencies] |
| 13 | heapless = "0.7.16" | 13 | heapless = "0.8" |
| 14 | defmt = { version = "0.3", optional = true } | 14 | defmt = { version = "0.3", optional = true } |
| 15 | log = { version = "0.4", default-features = false, optional = true } | 15 | log = { version = "0.4", default-features = false, optional = true } |
| 16 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } | 16 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } |
diff --git a/embassy-net-esp-hosted/Cargo.toml b/embassy-net-esp-hosted/Cargo.toml index 2a8c2857d..e86be4455 100644 --- a/embassy-net-esp-hosted/Cargo.toml +++ b/embassy-net-esp-hosted/Cargo.toml | |||
| @@ -15,9 +15,9 @@ embassy-net-driver-channel = { version = "0.2.0", path = "../embassy-net-driver- | |||
| 15 | embedded-hal = { version = "1.0.0-rc.1" } | 15 | embedded-hal = { version = "1.0.0-rc.1" } |
| 16 | embedded-hal-async = { version = "=1.0.0-rc.1" } | 16 | embedded-hal-async = { version = "=1.0.0-rc.1" } |
| 17 | 17 | ||
| 18 | noproto = { git="https://github.com/embassy-rs/noproto", rev = "c90f3a78d7b5642415e0a07af401320b84d8ab6f", default-features = false, features = ["derive"] } | 18 | noproto = { git="https://github.com/embassy-rs/noproto", rev = "f5e6d1f325b6ad4e344f60452b09576e24671f62", default-features = false, features = ["derive"] } |
| 19 | #noproto = { version = "0.1", path = "/home/dirbaio/noproto", default-features = false, features = ["derive"] } | 19 | #noproto = { version = "0.1", path = "/home/dirbaio/noproto", default-features = false, features = ["derive"] } |
| 20 | heapless = "0.7.16" | 20 | heapless = "0.8" |
| 21 | 21 | ||
| 22 | [package.metadata.embassy_docs] | 22 | [package.metadata.embassy_docs] |
| 23 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-esp-hosted-v$VERSION/embassy-net-esp-hosted/src/" | 23 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-esp-hosted-v$VERSION/embassy-net-esp-hosted/src/" |
diff --git a/embassy-net-esp-hosted/src/control.rs b/embassy-net-esp-hosted/src/control.rs index 50030f431..c86891bc3 100644 --- a/embassy-net-esp-hosted/src/control.rs +++ b/embassy-net-esp-hosted/src/control.rs | |||
| @@ -97,8 +97,8 @@ impl<'a> Control<'a> { | |||
| 97 | 97 | ||
| 98 | pub async fn connect(&mut self, ssid: &str, password: &str) -> Result<(), Error> { | 98 | pub async fn connect(&mut self, ssid: &str, password: &str) -> Result<(), Error> { |
| 99 | let req = proto::CtrlMsgReqConnectAp { | 99 | let req = proto::CtrlMsgReqConnectAp { |
| 100 | ssid: String::from(ssid), | 100 | ssid: unwrap!(String::try_from(ssid)), |
| 101 | pwd: String::from(password), | 101 | pwd: unwrap!(String::try_from(password)), |
| 102 | bssid: String::new(), | 102 | bssid: String::new(), |
| 103 | listen_interval: 3, | 103 | listen_interval: 3, |
| 104 | is_wpa3_supported: false, | 104 | is_wpa3_supported: false, |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 918c5bd33..0b029bd3c 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -46,7 +46,7 @@ igmp = ["smoltcp/proto-igmp"] | |||
| 46 | defmt = { version = "0.3", optional = true } | 46 | defmt = { version = "0.3", optional = true } |
| 47 | log = { version = "0.4.14", optional = true } | 47 | log = { version = "0.4.14", optional = true } |
| 48 | 48 | ||
| 49 | smoltcp = { version = "0.10.0", default-features = false, features = [ | 49 | smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev = "9b791ae3057e10f7afcb70c67deb5daf714293a9", default-features = false, features = [ |
| 50 | "socket", | 50 | "socket", |
| 51 | "async", | 51 | "async", |
| 52 | ] } | 52 | ] } |
| @@ -57,10 +57,10 @@ embassy-sync = { version = "0.4.0", path = "../embassy-sync" } | |||
| 57 | embedded-io-async = { version = "0.6.0", optional = true } | 57 | embedded-io-async = { version = "0.6.0", optional = true } |
| 58 | 58 | ||
| 59 | managed = { version = "0.8.0", default-features = false, features = [ "map" ] } | 59 | managed = { version = "0.8.0", default-features = false, features = [ "map" ] } |
| 60 | heapless = { version = "0.7.5", default-features = false } | 60 | heapless = { version = "0.8", default-features = false } |
| 61 | as-slice = "0.2.1" | 61 | as-slice = "0.2.1" |
| 62 | generic-array = { version = "0.14.4", default-features = false } | 62 | generic-array = { version = "0.14.4", default-features = false } |
| 63 | stable_deref_trait = { version = "1.2.0", default-features = false } | 63 | stable_deref_trait = { version = "1.2.0", default-features = false } |
| 64 | futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } | 64 | futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } |
| 65 | atomic-pool = "1.0" | 65 | atomic-pool = "1.0" |
| 66 | embedded-nal-async = { version = "0.6.0", optional = true } | 66 | embedded-nal-async = { version = "0.7", optional = true } |
diff --git a/embassy-net/src/dns.rs b/embassy-net/src/dns.rs index fdd45b314..6b804f9ed 100644 --- a/embassy-net/src/dns.rs +++ b/embassy-net/src/dns.rs | |||
| @@ -101,7 +101,8 @@ where | |||
| 101 | async fn get_host_by_address( | 101 | async fn get_host_by_address( |
| 102 | &self, | 102 | &self, |
| 103 | _addr: embedded_nal_async::IpAddr, | 103 | _addr: embedded_nal_async::IpAddr, |
| 104 | ) -> Result<heapless::String<256>, Self::Error> { | 104 | _result: &mut [u8], |
| 105 | ) -> Result<usize, Self::Error> { | ||
| 105 | todo!() | 106 | todo!() |
| 106 | } | 107 | } |
| 107 | } | 108 | } |
diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs index bcd5bb618..90fd08e94 100644 --- a/embassy-net/src/tcp.rs +++ b/embassy-net/src/tcp.rs | |||
| @@ -618,10 +618,7 @@ pub mod client { | |||
| 618 | async fn connect<'a>( | 618 | async fn connect<'a>( |
| 619 | &'a self, | 619 | &'a self, |
| 620 | remote: embedded_nal_async::SocketAddr, | 620 | remote: embedded_nal_async::SocketAddr, |
| 621 | ) -> Result<Self::Connection<'a>, Self::Error> | 621 | ) -> Result<Self::Connection<'a>, Self::Error> { |
| 622 | where | ||
| 623 | Self: 'a, | ||
| 624 | { | ||
| 625 | let addr: crate::IpAddress = match remote.ip() { | 622 | let addr: crate::IpAddress = match remote.ip() { |
| 626 | #[cfg(feature = "proto-ipv4")] | 623 | #[cfg(feature = "proto-ipv4")] |
| 627 | IpAddr::V4(addr) => crate::IpAddress::Ipv4(crate::Ipv4Address::from_bytes(&addr.octets())), | 624 | IpAddr::V4(addr) => crate::IpAddress::Ipv4(crate::Ipv4Address::from_bytes(&addr.octets())), |
diff --git a/embassy-stm32-wpan/Cargo.toml b/embassy-stm32-wpan/Cargo.toml index bee039011..607cd44c9 100644 --- a/embassy-stm32-wpan/Cargo.toml +++ b/embassy-stm32-wpan/Cargo.toml | |||
| @@ -21,7 +21,7 @@ embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver", option | |||
| 21 | 21 | ||
| 22 | defmt = { version = "0.3", optional = true } | 22 | defmt = { version = "0.3", optional = true } |
| 23 | cortex-m = "0.7.6" | 23 | cortex-m = "0.7.6" |
| 24 | heapless = "0.7.16" | 24 | heapless = "0.8" |
| 25 | aligned = "0.4.1" | 25 | aligned = "0.4.1" |
| 26 | 26 | ||
| 27 | bit_field = "0.10.2" | 27 | bit_field = "0.10.2" |
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml index 9a47fa212..e395389aa 100644 --- a/embassy-sync/Cargo.toml +++ b/embassy-sync/Cargo.toml | |||
| @@ -33,7 +33,7 @@ log = { version = "0.4.14", optional = true } | |||
| 33 | 33 | ||
| 34 | futures-util = { version = "0.3.17", default-features = false } | 34 | futures-util = { version = "0.3.17", default-features = false } |
| 35 | critical-section = "1.1" | 35 | critical-section = "1.1" |
| 36 | heapless = "0.7.5" | 36 | heapless = "0.8" |
| 37 | cfg-if = "1.0.0" | 37 | cfg-if = "1.0.0" |
| 38 | embedded-io-async = { version = "0.6.0", optional = true } | 38 | embedded-io-async = { version = "0.6.0", optional = true } |
| 39 | 39 | ||
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml index 76008f0a1..37b79d0cd 100644 --- a/embassy-time/Cargo.toml +++ b/embassy-time/Cargo.toml | |||
| @@ -248,7 +248,7 @@ embedded-hal-async = { version = "=1.0.0-rc.1", optional = true} | |||
| 248 | futures-util = { version = "0.3.17", default-features = false } | 248 | futures-util = { version = "0.3.17", default-features = false } |
| 249 | critical-section = "1.1" | 249 | critical-section = "1.1" |
| 250 | cfg-if = "1.0.0" | 250 | cfg-if = "1.0.0" |
| 251 | heapless = "0.7" | 251 | heapless = "0.8" |
| 252 | 252 | ||
| 253 | # WASM dependencies | 253 | # WASM dependencies |
| 254 | wasm-bindgen = { version = "0.2.81", optional = true } | 254 | wasm-bindgen = { version = "0.2.81", optional = true } |
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml index 5f64b7212..ac2082dcf 100644 --- a/embassy-usb/Cargo.toml +++ b/embassy-usb/Cargo.toml | |||
| @@ -45,7 +45,7 @@ embassy-net-driver-channel = { version = "0.2.0", path = "../embassy-net-driver- | |||
| 45 | 45 | ||
| 46 | defmt = { version = "0.3", optional = true } | 46 | defmt = { version = "0.3", optional = true } |
| 47 | log = { version = "0.4.14", optional = true } | 47 | log = { version = "0.4.14", optional = true } |
| 48 | heapless = "0.7.10" | 48 | heapless = "0.8" |
| 49 | 49 | ||
| 50 | # for HID | 50 | # for HID |
| 51 | usbd-hid = { version = "0.6.0", optional = true } | 51 | usbd-hid = { version = "0.6.0", optional = true } |
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index fbe7acae1..b23836346 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -39,7 +39,7 @@ st7789 = "0.6.1" | |||
| 39 | display-interface = "0.4.1" | 39 | display-interface = "0.4.1" |
| 40 | byte-slice-cast = { version = "1.2.0", default-features = false } | 40 | byte-slice-cast = { version = "1.2.0", default-features = false } |
| 41 | smart-leds = "0.3.0" | 41 | smart-leds = "0.3.0" |
| 42 | heapless = "0.7.15" | 42 | heapless = "0.8" |
| 43 | usbd-hid = "0.6.1" | 43 | usbd-hid = "0.6.1" |
| 44 | 44 | ||
| 45 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } | 45 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } |
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 99511292f..ee35ef49b 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml | |||
| @@ -14,7 +14,6 @@ embassy-net-ppp = { version = "0.1.0", path = "../../embassy-net-ppp", features | |||
| 14 | embedded-io-async = { version = "0.6.0" } | 14 | embedded-io-async = { version = "0.6.0" } |
| 15 | embedded-io-adapters = { version = "0.6.0", features = ["futures-03"] } | 15 | embedded-io-adapters = { version = "0.6.0", features = ["futures-03"] } |
| 16 | critical-section = { version = "1.1", features = ["std"] } | 16 | critical-section = { version = "1.1", features = ["std"] } |
| 17 | smoltcp = { version = "0.10.0", features = ["dns-max-server-count-4"] } | ||
| 18 | 17 | ||
| 19 | async-io = "1.6.0" | 18 | async-io = "1.6.0" |
| 20 | env_logger = "0.9.0" | 19 | env_logger = "0.9.0" |
| @@ -23,7 +22,7 @@ log = "0.4.14" | |||
| 23 | nix = "0.26.2" | 22 | nix = "0.26.2" |
| 24 | clap = { version = "3.0.0-beta.5", features = ["derive"] } | 23 | clap = { version = "3.0.0-beta.5", features = ["derive"] } |
| 25 | rand_core = { version = "0.6.3", features = ["std"] } | 24 | rand_core = { version = "0.6.3", features = ["std"] } |
| 26 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.8", default-features = false } |
| 27 | static_cell = { version = "2", features = ["nightly"]} | 26 | static_cell = { version = "2", features = ["nightly"]} |
| 28 | 27 | ||
| 29 | [profile.release] | 28 | [profile.release] |
diff --git a/examples/stm32c0/Cargo.toml b/examples/stm32c0/Cargo.toml index 39470f375..9824aa95f 100644 --- a/examples/stm32c0/Cargo.toml +++ b/examples/stm32c0/Cargo.toml | |||
| @@ -19,7 +19,7 @@ cortex-m-rt = "0.7.0" | |||
| 19 | embedded-hal = "0.2.6" | 19 | embedded-hal = "0.2.6" |
| 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 22 | heapless = { version = "0.7.5", default-features = false } | 22 | heapless = { version = "0.8", default-features = false } |
| 23 | 23 | ||
| 24 | [profile.release] | 24 | [profile.release] |
| 25 | debug = 2 | 25 | debug = 2 |
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml index 1fe460dd8..dbe097571 100644 --- a/examples/stm32f1/Cargo.toml +++ b/examples/stm32f1/Cargo.toml | |||
| @@ -21,7 +21,7 @@ cortex-m-rt = "0.7.0" | |||
| 21 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 24 | heapless = { version = "0.7.5", default-features = false } | 24 | heapless = { version = "0.8", default-features = false } |
| 25 | nb = "1.0.0" | 25 | nb = "1.0.0" |
| 26 | 26 | ||
| 27 | [profile.dev] | 27 | [profile.dev] |
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml index bfb8f514a..6eb883ac3 100644 --- a/examples/stm32f2/Cargo.toml +++ b/examples/stm32f2/Cargo.toml | |||
| @@ -19,7 +19,7 @@ cortex-m-rt = "0.7.0" | |||
| 19 | embedded-hal = "0.2.6" | 19 | embedded-hal = "0.2.6" |
| 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 22 | heapless = { version = "0.7.5", default-features = false } | 22 | heapless = { version = "0.8", default-features = false } |
| 23 | nb = "1.0.0" | 23 | nb = "1.0.0" |
| 24 | 24 | ||
| 25 | [profile.release] | 25 | [profile.release] |
diff --git a/examples/stm32f3/Cargo.toml b/examples/stm32f3/Cargo.toml index 0ab25c4c2..96096f797 100644 --- a/examples/stm32f3/Cargo.toml +++ b/examples/stm32f3/Cargo.toml | |||
| @@ -21,7 +21,7 @@ cortex-m-rt = "0.7.0" | |||
| 21 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 24 | heapless = { version = "0.7.5", default-features = false } | 24 | heapless = { version = "0.8", default-features = false } |
| 25 | nb = "1.0.0" | 25 | nb = "1.0.0" |
| 26 | embedded-storage = "0.3.0" | 26 | embedded-storage = "0.3.0" |
| 27 | static_cell = { version = "2", features = ["nightly"]} | 27 | static_cell = { version = "2", features = ["nightly"]} |
diff --git a/examples/stm32f334/Cargo.toml b/examples/stm32f334/Cargo.toml index b3bfde441..344409ce7 100644 --- a/examples/stm32f334/Cargo.toml +++ b/examples/stm32f334/Cargo.toml | |||
| @@ -20,7 +20,7 @@ cortex-m-rt = "0.7.0" | |||
| 20 | embedded-hal = "0.2.6" | 20 | embedded-hal = "0.2.6" |
| 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 22 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 22 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 23 | heapless = { version = "0.7.5", default-features = false } | 23 | heapless = { version = "0.8", default-features = false } |
| 24 | nb = "1.0.0" | 24 | nb = "1.0.0" |
| 25 | embedded-storage = "0.3.0" | 25 | embedded-storage = "0.3.0" |
| 26 | static_cell = { version = "2", features = ["nightly"]} | 26 | static_cell = { version = "2", features = ["nightly"]} |
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index f81821904..2ef044d01 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml | |||
| @@ -23,7 +23,7 @@ embedded-io = { version = "0.6.0" } | |||
| 23 | embedded-io-async = { version = "0.6.0" } | 23 | embedded-io-async = { version = "0.6.0" } |
| 24 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 24 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 26 | heapless = { version = "0.7.5", default-features = false } | 26 | heapless = { version = "0.8", default-features = false } |
| 27 | nb = "1.0.0" | 27 | nb = "1.0.0" |
| 28 | embedded-storage = "0.3.0" | 28 | embedded-storage = "0.3.0" |
| 29 | micromath = "2.0.0" | 29 | micromath = "2.0.0" |
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index 0a567d046..f451eb48b 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml | |||
| @@ -22,7 +22,7 @@ cortex-m-rt = "0.7.0" | |||
| 22 | embedded-hal = "0.2.6" | 22 | embedded-hal = "0.2.6" |
| 23 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 23 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 24 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 24 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 25 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.8", default-features = false } |
| 26 | nb = "1.0.0" | 26 | nb = "1.0.0" |
| 27 | rand_core = "0.6.3" | 27 | rand_core = "0.6.3" |
| 28 | critical-section = "1.1" | 28 | critical-section = "1.1" |
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 42d7d328f..8c25406c7 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml | |||
| @@ -19,7 +19,7 @@ cortex-m-rt = "0.7.0" | |||
| 19 | embedded-hal = "0.2.6" | 19 | embedded-hal = "0.2.6" |
| 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 22 | heapless = { version = "0.7.5", default-features = false } | 22 | heapless = { version = "0.8", default-features = false } |
| 23 | portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] } | 23 | portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] } |
| 24 | 24 | ||
| 25 | [profile.release] | 25 | [profile.release] |
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml index 3ca6ff2fc..abca22f2a 100644 --- a/examples/stm32g4/Cargo.toml +++ b/examples/stm32g4/Cargo.toml | |||
| @@ -22,7 +22,7 @@ cortex-m-rt = "0.7.0" | |||
| 22 | embedded-hal = "0.2.6" | 22 | embedded-hal = "0.2.6" |
| 23 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 23 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 24 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 24 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 25 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.8", default-features = false } |
| 26 | 26 | ||
| 27 | [profile.release] | 27 | [profile.release] |
| 28 | debug = 2 | 28 | debug = 2 |
diff --git a/examples/stm32h5/Cargo.toml b/examples/stm32h5/Cargo.toml index db56b685a..4d3bf0b86 100644 --- a/examples/stm32h5/Cargo.toml +++ b/examples/stm32h5/Cargo.toml | |||
| @@ -22,10 +22,10 @@ cortex-m-rt = "0.7.0" | |||
| 22 | embedded-hal = "0.2.6" | 22 | embedded-hal = "0.2.6" |
| 23 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } | 23 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } |
| 24 | embedded-hal-async = { version = "=1.0.0-rc.1" } | 24 | embedded-hal-async = { version = "=1.0.0-rc.1" } |
| 25 | embedded-nal-async = { version = "0.6.0" } | 25 | embedded-nal-async = { version = "0.7" } |
| 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 28 | heapless = { version = "0.7.5", default-features = false } | 28 | heapless = { version = "0.8", default-features = false } |
| 29 | rand_core = "0.6.3" | 29 | rand_core = "0.6.3" |
| 30 | critical-section = "1.1" | 30 | critical-section = "1.1" |
| 31 | micromath = "2.0.0" | 31 | micromath = "2.0.0" |
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index c300c8644..77b026d4b 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml | |||
| @@ -10,7 +10,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [" | |||
| 10 | embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } | 10 | embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } |
| 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } |
| 13 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] } | 13 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6", "dns"] } |
| 14 | embedded-io-async = { version = "0.6.0" } | 14 | embedded-io-async = { version = "0.6.0" } |
| 15 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } | 15 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } |
| 16 | 16 | ||
| @@ -22,10 +22,10 @@ cortex-m-rt = "0.7.0" | |||
| 22 | embedded-hal = "0.2.6" | 22 | embedded-hal = "0.2.6" |
| 23 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } | 23 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" } |
| 24 | embedded-hal-async = { version = "=1.0.0-rc.1" } | 24 | embedded-hal-async = { version = "=1.0.0-rc.1" } |
| 25 | embedded-nal-async = { version = "0.6.0" } | 25 | embedded-nal-async = { version = "0.7" } |
| 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 28 | heapless = { version = "0.7.5", default-features = false } | 28 | heapless = { version = "0.8", default-features = false } |
| 29 | rand_core = "0.6.3" | 29 | rand_core = "0.6.3" |
| 30 | critical-section = "1.1" | 30 | critical-section = "1.1" |
| 31 | micromath = "2.0.0" | 31 | micromath = "2.0.0" |
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index e294d0422..a5506469a 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -31,7 +31,7 @@ cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-sing | |||
| 31 | cortex-m-rt = "0.7.0" | 31 | cortex-m-rt = "0.7.0" |
| 32 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 32 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 33 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 33 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 34 | heapless = { version = "0.7.5", default-features = false } | 34 | heapless = { version = "0.8", default-features = false } |
| 35 | embedded-hal = "0.2.6" | 35 | embedded-hal = "0.2.6" |
| 36 | static_cell = { version = "2" } | 36 | static_cell = { version = "2" } |
| 37 | portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] } | 37 | portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] } |
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml index cc27dfc65..b9d88884b 100644 --- a/examples/stm32l1/Cargo.toml +++ b/examples/stm32l1/Cargo.toml | |||
| @@ -18,7 +18,7 @@ cortex-m-rt = "0.7.0" | |||
| 18 | embedded-hal = "0.2.6" | 18 | embedded-hal = "0.2.6" |
| 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 21 | heapless = { version = "0.7.5", default-features = false } | 21 | heapless = { version = "0.8", default-features = false } |
| 22 | embedded-storage = "0.3.0" | 22 | embedded-storage = "0.3.0" |
| 23 | 23 | ||
| 24 | [profile.release] | 24 | [profile.release] |
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 5d79cf1ed..66f9ce714 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml | |||
| @@ -29,7 +29,7 @@ embedded-hal-async = { version = "=1.0.0-rc.1" } | |||
| 29 | embedded-hal-bus = { version = "=0.1.0-rc.1", features = ["async"] } | 29 | embedded-hal-bus = { version = "=0.1.0-rc.1", features = ["async"] } |
| 30 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 30 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 31 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 31 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 32 | heapless = { version = "0.7.5", default-features = false } | 32 | heapless = { version = "0.8", default-features = false } |
| 33 | chrono = { version = "^0.4", default-features = false } | 33 | chrono = { version = "^0.4", default-features = false } |
| 34 | rand = { version = "0.8.5", default-features = false } | 34 | rand = { version = "0.8.5", default-features = false } |
| 35 | static_cell = { version = "2", features = ["nightly"]} | 35 | static_cell = { version = "2", features = ["nightly"]} |
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml index 1cd32892d..5ba95313c 100644 --- a/examples/stm32l5/Cargo.toml +++ b/examples/stm32l5/Cargo.toml | |||
| @@ -23,7 +23,7 @@ cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-sing | |||
| 23 | cortex-m-rt = "0.7.0" | 23 | cortex-m-rt = "0.7.0" |
| 24 | embedded-hal = "0.2.6" | 24 | embedded-hal = "0.2.6" |
| 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 26 | heapless = { version = "0.7.5", default-features = false } | 26 | heapless = { version = "0.8", default-features = false } |
| 27 | rand_core = { version = "0.6.3", default-features = false } | 27 | rand_core = { version = "0.6.3", default-features = false } |
| 28 | embedded-io-async = { version = "0.6.0" } | 28 | embedded-io-async = { version = "0.6.0" } |
| 29 | static_cell = { version = "2", features = ["nightly"]} | 29 | static_cell = { version = "2", features = ["nightly"]} |
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml index 27c25ebc6..07dc88d71 100644 --- a/examples/stm32u5/Cargo.toml +++ b/examples/stm32u5/Cargo.toml | |||
| @@ -20,7 +20,7 @@ cortex-m-rt = "0.7.0" | |||
| 20 | embedded-hal = "0.2.6" | 20 | embedded-hal = "0.2.6" |
| 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 22 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 22 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 23 | heapless = { version = "0.7.5", default-features = false } | 23 | heapless = { version = "0.8", default-features = false } |
| 24 | 24 | ||
| 25 | micromath = "2.0.0" | 25 | micromath = "2.0.0" |
| 26 | 26 | ||
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml index daacc11c4..132823a89 100644 --- a/examples/stm32wb/Cargo.toml +++ b/examples/stm32wb/Cargo.toml | |||
| @@ -21,7 +21,7 @@ cortex-m-rt = "0.7.0" | |||
| 21 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 24 | heapless = { version = "0.7.5", default-features = false } | 24 | heapless = { version = "0.8", default-features = false } |
| 25 | static_cell = { version = "2", features = ["nightly"]} | 25 | static_cell = { version = "2", features = ["nightly"]} |
| 26 | 26 | ||
| 27 | [features] | 27 | [features] |
diff --git a/examples/stm32wba/Cargo.toml b/examples/stm32wba/Cargo.toml index c52848500..04136f4f2 100644 --- a/examples/stm32wba/Cargo.toml +++ b/examples/stm32wba/Cargo.toml | |||
| @@ -19,7 +19,7 @@ cortex-m-rt = "0.7.0" | |||
| 19 | embedded-hal = "0.2.6" | 19 | embedded-hal = "0.2.6" |
| 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 20 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 22 | heapless = { version = "0.7.5", default-features = false } | 22 | heapless = { version = "0.8", default-features = false } |
| 23 | static_cell = { version = "2", features = ["nightly"]} | 23 | static_cell = { version = "2", features = ["nightly"]} |
| 24 | 24 | ||
| 25 | [profile.release] | 25 | [profile.release] |
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml index 9e8ffa165..bf2e7f07d 100644 --- a/examples/stm32wl/Cargo.toml +++ b/examples/stm32wl/Cargo.toml | |||
| @@ -25,7 +25,7 @@ embedded-hal = "0.2.6" | |||
| 25 | embedded-storage = "0.3.0" | 25 | embedded-storage = "0.3.0" |
| 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 26 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 27 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 28 | heapless = { version = "0.7.5", default-features = false } | 28 | heapless = { version = "0.8", default-features = false } |
| 29 | chrono = { version = "^0.4", default-features = false } | 29 | chrono = { version = "^0.4", default-features = false } |
| 30 | 30 | ||
| 31 | [profile.release] | 31 | [profile.release] |
