diff options
| -rw-r--r-- | embassy-net-ppp/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-net-ppp/src/lib.rs | 17 | ||||
| -rw-r--r-- | embassy-net/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-nrf/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-rp/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-stm32/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-sync/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/nrf52840/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/nrf5340/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/rp/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/std/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32f4/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32f7/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/stm32h5/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32h7/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32l0/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32l4/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32l5/Cargo.toml | 2 | ||||
| -rw-r--r-- | tests/nrf/Cargo.toml | 2 | ||||
| -rw-r--r-- | tests/rp/Cargo.toml | 2 |
20 files changed, 33 insertions, 44 deletions
diff --git a/embassy-net-ppp/Cargo.toml b/embassy-net-ppp/Cargo.toml index da09f780e..453da436a 100644 --- a/embassy-net-ppp/Cargo.toml +++ b/embassy-net-ppp/Cargo.toml | |||
| @@ -15,7 +15,7 @@ log = ["dep:log", "ppproto/log"] | |||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
| 16 | log = { version = "0.4.14", optional = true } | 16 | log = { version = "0.4.14", optional = true } |
| 17 | 17 | ||
| 18 | embedded-io-async = { version = "0.5.0" } | 18 | embedded-io-async = { version = "0.6.0" } |
| 19 | embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" } | 19 | embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" } |
| 20 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } | 20 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } |
| 21 | ppproto = { version = "0.1.2"} | 21 | ppproto = { version = "0.1.2"} |
diff --git a/embassy-net-ppp/src/lib.rs b/embassy-net-ppp/src/lib.rs index 66496ee0a..54a98c95f 100644 --- a/embassy-net-ppp/src/lib.rs +++ b/embassy-net-ppp/src/lib.rs | |||
| @@ -11,7 +11,7 @@ use core::mem::MaybeUninit; | |||
| 11 | use embassy_futures::select::{select, Either}; | 11 | use embassy_futures::select::{select, Either}; |
| 12 | use embassy_net_driver_channel as ch; | 12 | use embassy_net_driver_channel as ch; |
| 13 | use embassy_net_driver_channel::driver::LinkState; | 13 | use embassy_net_driver_channel::driver::LinkState; |
| 14 | use embedded_io_async::{BufRead, Write, WriteAllError}; | 14 | use embedded_io_async::{BufRead, Write}; |
| 15 | use ppproto::pppos::{BufferFullError, PPPoS, PPPoSAction}; | 15 | use ppproto::pppos::{BufferFullError, PPPoS, PPPoSAction}; |
| 16 | pub use ppproto::{Config, Ipv4Status}; | 16 | pub use ppproto::{Config, Ipv4Status}; |
| 17 | 17 | ||
| @@ -49,23 +49,12 @@ pub enum RunError<E> { | |||
| 49 | Read(E), | 49 | Read(E), |
| 50 | /// Writing to the serial port failed. | 50 | /// Writing to the serial port failed. |
| 51 | Write(E), | 51 | Write(E), |
| 52 | /// Writing to the serial port wrote zero bytes, indicating it can't accept more data. | ||
| 53 | WriteZero, | ||
| 54 | /// Writing to the serial got EOF. | 52 | /// Writing to the serial got EOF. |
| 55 | Eof, | 53 | Eof, |
| 56 | /// PPP protocol was terminated by the peer | 54 | /// PPP protocol was terminated by the peer |
| 57 | Terminated, | 55 | Terminated, |
| 58 | } | 56 | } |
| 59 | 57 | ||
| 60 | impl<E> From<WriteAllError<E>> for RunError<E> { | ||
| 61 | fn from(value: WriteAllError<E>) -> Self { | ||
| 62 | match value { | ||
| 63 | WriteAllError::Other(e) => Self::Write(e), | ||
| 64 | WriteAllError::WriteZero => Self::WriteZero, | ||
| 65 | } | ||
| 66 | } | ||
| 67 | } | ||
| 68 | |||
| 69 | impl<'d> Runner<'d> { | 58 | impl<'d> Runner<'d> { |
| 70 | /// You must call this in a background task for the driver to operate. | 59 | /// You must call this in a background task for the driver to operate. |
| 71 | /// | 60 | /// |
| @@ -125,7 +114,7 @@ impl<'d> Runner<'d> { | |||
| 125 | buf[..pkt.len()].copy_from_slice(pkt); | 114 | buf[..pkt.len()].copy_from_slice(pkt); |
| 126 | rx_chan.rx_done(pkt.len()); | 115 | rx_chan.rx_done(pkt.len()); |
| 127 | } | 116 | } |
| 128 | PPPoSAction::Transmit(n) => rw.write_all(&tx_buf[..n]).await?, | 117 | PPPoSAction::Transmit(n) => rw.write_all(&tx_buf[..n]).await.map_err(RunError::Write)?, |
| 129 | } | 118 | } |
| 130 | 119 | ||
| 131 | let status = ppp.status(); | 120 | let status = ppp.status(); |
| @@ -148,7 +137,7 @@ impl<'d> Runner<'d> { | |||
| 148 | } | 137 | } |
| 149 | Either::Second(pkt) => { | 138 | Either::Second(pkt) => { |
| 150 | match ppp.send(pkt, &mut tx_buf) { | 139 | match ppp.send(pkt, &mut tx_buf) { |
| 151 | Ok(n) => rw.write_all(&tx_buf[..n]).await?, | 140 | Ok(n) => rw.write_all(&tx_buf[..n]).await.map_err(RunError::Write)?, |
| 152 | Err(BufferFullError) => unreachable!(), | 141 | Err(BufferFullError) => unreachable!(), |
| 153 | } | 142 | } |
| 154 | tx_chan.tx_done(); | 143 | tx_chan.tx_done(); |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 8aca92a68..89582deee 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -53,7 +53,7 @@ smoltcp = { version = "0.10.0", default-features = false, features = [ | |||
| 53 | embassy-net-driver = { version = "0.1.0", path = "../embassy-net-driver" } | 53 | embassy-net-driver = { version = "0.1.0", path = "../embassy-net-driver" } |
| 54 | embassy-time = { version = "0.1.3", path = "../embassy-time" } | 54 | embassy-time = { version = "0.1.3", path = "../embassy-time" } |
| 55 | embassy-sync = { version = "0.3.0", path = "../embassy-sync" } | 55 | embassy-sync = { version = "0.3.0", path = "../embassy-sync" } |
| 56 | embedded-io-async = { version = "0.5.0", optional = true } | 56 | embedded-io-async = { version = "0.6.0", optional = true } |
| 57 | 57 | ||
| 58 | managed = { version = "0.8.0", default-features = false, features = [ "map" ] } | 58 | managed = { version = "0.8.0", default-features = false, features = [ "map" ] } |
| 59 | heapless = { version = "0.7.5", default-features = false } | 59 | heapless = { version = "0.7.5", default-features = false } |
| @@ -62,5 +62,5 @@ generic-array = { version = "0.14.4", default-features = false } | |||
| 62 | stable_deref_trait = { version = "1.2.0", default-features = false } | 62 | stable_deref_trait = { version = "1.2.0", default-features = false } |
| 63 | futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } | 63 | futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] } |
| 64 | atomic-pool = "1.0" | 64 | atomic-pool = "1.0" |
| 65 | embedded-nal-async = { version = "0.5.0", optional = true } | 65 | embedded-nal-async = { version = "0.6.0", optional = true } |
| 66 | atomic-polyfill = { version = "1.0" } | 66 | atomic-polyfill = { version = "1.0" } |
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index 3c706b473..7ef183069 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml | |||
| @@ -103,8 +103,8 @@ embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver", optiona | |||
| 103 | embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } | 103 | embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } |
| 104 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1", optional = true} | 104 | embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1", optional = true} |
| 105 | embedded-hal-async = { version = "=1.0.0-rc.1", optional = true} | 105 | embedded-hal-async = { version = "=1.0.0-rc.1", optional = true} |
| 106 | embedded-io = { version = "0.5.0" } | 106 | embedded-io = { version = "0.6.0" } |
| 107 | embedded-io-async = { version = "0.5.0", optional = true } | 107 | embedded-io-async = { version = "0.6.0", optional = true } |
| 108 | 108 | ||
| 109 | defmt = { version = "0.3", optional = true } | 109 | defmt = { version = "0.3", optional = true } |
| 110 | log = { version = "0.4.14", optional = true } | 110 | log = { version = "0.4.14", optional = true } |
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 1147286fc..26ff0ce84 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml | |||
| @@ -75,8 +75,8 @@ cortex-m = "0.7.6" | |||
| 75 | critical-section = "1.1" | 75 | critical-section = "1.1" |
| 76 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 76 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 77 | chrono = { version = "0.4", default-features = false, optional = true } | 77 | chrono = { version = "0.4", default-features = false, optional = true } |
| 78 | embedded-io = { version = "0.5.0" } | 78 | embedded-io = { version = "0.6.0" } |
| 79 | embedded-io-async = { version = "0.5.0", optional = true } | 79 | embedded-io-async = { version = "0.6.0", optional = true } |
| 80 | embedded-storage = { version = "0.3" } | 80 | embedded-storage = { version = "0.3" } |
| 81 | embedded-storage-async = { version = "0.4.0", optional = true } | 81 | embedded-storage-async = { version = "0.4.0", optional = true } |
| 82 | rand_core = "0.6.4" | 82 | rand_core = "0.6.4" |
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index ab1cae891..d43252ada 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -66,8 +66,8 @@ nb = "1.0.0" | |||
| 66 | stm32-fmc = "0.3.0" | 66 | stm32-fmc = "0.3.0" |
| 67 | seq-macro = "0.3.0" | 67 | seq-macro = "0.3.0" |
| 68 | cfg-if = "1.0.0" | 68 | cfg-if = "1.0.0" |
| 69 | embedded-io = { version = "0.5.0" } | 69 | embedded-io = { version = "0.6.0" } |
| 70 | embedded-io-async = { version = "0.5.0", optional = true } | 70 | embedded-io-async = { version = "0.6.0", optional = true } |
| 71 | chrono = { version = "^0.4", default-features = false, optional = true} | 71 | chrono = { version = "^0.4", default-features = false, optional = true} |
| 72 | bit_field = "0.10.2" | 72 | bit_field = "0.10.2" |
| 73 | document-features = "0.2.7" | 73 | document-features = "0.2.7" |
diff --git a/embassy-sync/Cargo.toml b/embassy-sync/Cargo.toml index f7739f305..7d3d2c589 100644 --- a/embassy-sync/Cargo.toml +++ b/embassy-sync/Cargo.toml | |||
| @@ -35,7 +35,7 @@ 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.7.5" |
| 37 | cfg-if = "1.0.0" | 37 | cfg-if = "1.0.0" |
| 38 | embedded-io-async = { version = "0.5.0", optional = true } | 38 | embedded-io-async = { version = "0.6.0", optional = true } |
| 39 | 39 | ||
| 40 | [dev-dependencies] | 40 | [dev-dependencies] |
| 41 | futures-executor = { version = "0.3.17", features = [ "thread-pool" ] } | 41 | futures-executor = { version = "0.3.17", features = [ "thread-pool" ] } |
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml index d45e006c7..ce68935fc 100644 --- a/examples/nrf52840/Cargo.toml +++ b/examples/nrf52840/Cargo.toml | |||
| @@ -35,8 +35,8 @@ embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["de | |||
| 35 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } | 35 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } |
| 36 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } | 36 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } |
| 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor",], optional = true } | 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor",], optional = true } |
| 38 | embedded-io = { version = "0.5.0", features = ["defmt-03"] } | 38 | embedded-io = { version = "0.6.0", features = ["defmt-03"] } |
| 39 | embedded-io-async = { version = "0.5.0", optional = true, features = ["defmt-03"] } | 39 | embedded-io-async = { version = "0.6.0", optional = true, features = ["defmt-03"] } |
| 40 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } | 40 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } |
| 41 | lora-phy = { version = "2", optional = true } | 41 | lora-phy = { version = "2", optional = true } |
| 42 | lorawan-device = { version = "0.11.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } | 42 | lorawan-device = { version = "0.11.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } |
diff --git a/examples/nrf5340/Cargo.toml b/examples/nrf5340/Cargo.toml index 86d969ed5..9d9400c20 100644 --- a/examples/nrf5340/Cargo.toml +++ b/examples/nrf5340/Cargo.toml | |||
| @@ -37,7 +37,7 @@ embassy-net = { version = "0.1.0", path = "../../embassy-net", features = [ | |||
| 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [ | 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [ |
| 38 | "defmt", | 38 | "defmt", |
| 39 | ] } | 39 | ] } |
| 40 | embedded-io-async = { version = "0.5.0" } | 40 | embedded-io-async = { version = "0.6.0" } |
| 41 | 41 | ||
| 42 | defmt = "0.3" | 42 | defmt = "0.3" |
| 43 | defmt-rtt = "0.4" | 43 | defmt-rtt = "0.4" |
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index 2677e0402..c998a3dc6 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -45,7 +45,7 @@ usbd-hid = "0.6.1" | |||
| 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" } |
| 46 | embedded-hal-async = "1.0.0-rc.1" | 46 | embedded-hal-async = "1.0.0-rc.1" |
| 47 | embedded-hal-bus = { version = "0.1.0-rc.1", features = ["async"] } | 47 | embedded-hal-bus = { version = "0.1.0-rc.1", features = ["async"] } |
| 48 | embedded-io-async = { version = "0.5.0", features = ["defmt-03"] } | 48 | embedded-io-async = { version = "0.6.0", features = ["defmt-03"] } |
| 49 | embedded-storage = { version = "0.3" } | 49 | embedded-storage = { version = "0.3" } |
| 50 | static_cell = { version = "1.1", features = ["nightly"]} | 50 | static_cell = { version = "1.1", features = ["nightly"]} |
| 51 | log = "0.4" | 51 | log = "0.4" |
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index e54f36980..52e68381a 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml | |||
| @@ -11,8 +11,8 @@ embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["lo | |||
| 11 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "nightly", "log", "medium-ethernet", "medium-ip", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6"] } | 11 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features=[ "std", "nightly", "log", "medium-ethernet", "medium-ip", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6"] } |
| 12 | embassy-net-tuntap = { version = "0.1.0", path = "../../embassy-net-tuntap" } | 12 | embassy-net-tuntap = { version = "0.1.0", path = "../../embassy-net-tuntap" } |
| 13 | embassy-net-ppp = { version = "0.1.0", path = "../../embassy-net-ppp", features = ["log"]} | 13 | embassy-net-ppp = { version = "0.1.0", path = "../../embassy-net-ppp", features = ["log"]} |
| 14 | embedded-io-async = { version = "0.5.0" } | 14 | embedded-io-async = { version = "0.6.0" } |
| 15 | embedded-io-adapters = { version = "0.5.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"] } | 17 | smoltcp = { version = "0.10.0", features = ["dns-max-server-count-4"] } |
| 18 | 18 | ||
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index 4b4fb479b..6ffa223b2 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml | |||
| @@ -19,8 +19,8 @@ defmt-rtt = "0.4" | |||
| 19 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } | 19 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 20 | cortex-m-rt = "0.7.0" | 20 | cortex-m-rt = "0.7.0" |
| 21 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 22 | embedded-io = { version = "0.5.0" } | 22 | embedded-io = { version = "0.6.0" } |
| 23 | embedded-io-async = { version = "0.5.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.7.5", default-features = false } |
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index bf8f413d8..19d08a8bf 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml | |||
| @@ -11,7 +11,7 @@ embassy-sync = { version = "0.3.0", path = "../../embassy-sync", features = ["de | |||
| 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } |
| 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] } | 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] } |
| 14 | embedded-io-async = { version = "0.5.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 | ||
| 17 | defmt = "0.3" | 17 | defmt = "0.3" |
diff --git a/examples/stm32h5/Cargo.toml b/examples/stm32h5/Cargo.toml index 42a426185..a69de9656 100644 --- a/examples/stm32h5/Cargo.toml +++ b/examples/stm32h5/Cargo.toml | |||
| @@ -11,7 +11,7 @@ embassy-sync = { version = "0.3.0", path = "../../embassy-sync", features = ["de | |||
| 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } |
| 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] } | 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] } |
| 14 | embedded-io-async = { version = "0.5.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 | ||
| 17 | defmt = "0.3" | 17 | defmt = "0.3" |
| @@ -22,7 +22,7 @@ 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.5.0" } | 25 | embedded-nal-async = { version = "0.6.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.7.5", default-features = false } |
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index c1d49963c..3a3927a9a 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml | |||
| @@ -11,7 +11,7 @@ embassy-sync = { version = "0.3.0", path = "../../embassy-sync", features = ["de | |||
| 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } |
| 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] } | 13 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] } |
| 14 | embedded-io-async = { version = "0.5.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 | ||
| 17 | defmt = "0.3" | 17 | defmt = "0.3" |
| @@ -22,7 +22,7 @@ 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.5.0" } | 25 | embedded-nal-async = { version = "0.6.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.7.5", default-features = false } |
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index 502ebfc8d..0aff9dbd2 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -24,8 +24,8 @@ defmt = "0.3" | |||
| 24 | defmt-rtt = "0.4" | 24 | defmt-rtt = "0.4" |
| 25 | 25 | ||
| 26 | embedded-storage = "0.3.0" | 26 | embedded-storage = "0.3.0" |
| 27 | embedded-io = { version = "0.5.0" } | 27 | embedded-io = { version = "0.6.0" } |
| 28 | embedded-io-async = { version = "0.5.0", optional = true } | 28 | embedded-io-async = { version = "0.6.0", optional = true } |
| 29 | 29 | ||
| 30 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } | 30 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 31 | cortex-m-rt = "0.7.0" | 31 | cortex-m-rt = "0.7.0" |
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 59e89c537..07fcbed68 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml | |||
| @@ -15,8 +15,8 @@ embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defm | |||
| 15 | embassy-net-adin1110 = { version = "0.2.0", path = "../../embassy-net-adin1110" } | 15 | embassy-net-adin1110 = { version = "0.2.0", path = "../../embassy-net-adin1110" } |
| 16 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "udp", "tcp", "dhcpv4", "medium-ethernet"] } | 16 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "udp", "tcp", "dhcpv4", "medium-ethernet"] } |
| 17 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | 17 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } |
| 18 | embedded-io-async = { version = "0.5.0", features = ["defmt-03"] } | 18 | embedded-io-async = { version = "0.6.0", features = ["defmt-03"] } |
| 19 | embedded-io = { version = "0.5.0", features = ["defmt-03"] } | 19 | embedded-io = { version = "0.6.0", features = ["defmt-03"] } |
| 20 | 20 | ||
| 21 | defmt = "0.3" | 21 | defmt = "0.3" |
| 22 | defmt-rtt = "0.4" | 22 | defmt-rtt = "0.4" |
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml index 583e1a776..a82cdc61a 100644 --- a/examples/stm32l5/Cargo.toml +++ b/examples/stm32l5/Cargo.toml | |||
| @@ -25,7 +25,7 @@ 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.7.5", 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.5.0" } | 28 | embedded-io-async = { version = "0.6.0" } |
| 29 | static_cell = { version = "1.1", features = ["nightly"]} | 29 | static_cell = { version = "1.1", features = ["nightly"]} |
| 30 | 30 | ||
| 31 | [profile.release] | 31 | [profile.release] |
diff --git a/tests/nrf/Cargo.toml b/tests/nrf/Cargo.toml index 08fe1a4b5..2b265fc47 100644 --- a/tests/nrf/Cargo.toml +++ b/tests/nrf/Cargo.toml | |||
| @@ -12,7 +12,7 @@ embassy-sync = { version = "0.3.0", path = "../../embassy-sync", features = ["de | |||
| 12 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "nightly", "integrated-timers"] } | 12 | embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "nightly", "integrated-timers"] } |
| 13 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits", "defmt-timestamp-uptime"] } | 13 | embassy-time = { version = "0.1.3", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits", "defmt-timestamp-uptime"] } |
| 14 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nightly", "unstable-traits", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] } | 14 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nightly", "unstable-traits", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] } |
| 15 | embedded-io-async = { version = "0.5.0" } | 15 | embedded-io-async = { version = "0.6.0" } |
| 16 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] } | 16 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] } |
| 17 | embassy-net-esp-hosted = { version = "0.1.0", path = "../../embassy-net-esp-hosted", features = ["defmt"] } | 17 | embassy-net-esp-hosted = { version = "0.1.0", path = "../../embassy-net-esp-hosted", features = ["defmt"] } |
| 18 | embassy-net-enc28j60 = { version = "0.1.0", path = "../../embassy-net-enc28j60", features = ["defmt"] } | 18 | embassy-net-enc28j60 = { version = "0.1.0", path = "../../embassy-net-enc28j60", features = ["defmt"] } |
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml index 8bb0de6c6..9751fe8cf 100644 --- a/tests/rp/Cargo.toml +++ b/tests/rp/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.0", features = ["print-defmt"] } | 30 | panic-probe = { version = "0.3.0", 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 | embedded-io-async = { version = "0.5.0" } | 32 | embedded-io-async = { version = "0.6.0" } |
| 33 | embedded-storage = { version = "0.3" } | 33 | embedded-storage = { version = "0.3" } |
| 34 | static_cell = { version = "1.1", features = ["nightly"]} | 34 | static_cell = { version = "1.1", features = ["nightly"]} |
| 35 | pio = "0.2" | 35 | pio = "0.2" |
