From 62ed44f99af9e33d689c8308149f8f992176895f Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 1 Oct 2025 21:17:46 +0200 Subject: Update to embedded-io 0.7 --- examples/mcxa/Cargo.toml | 2 +- examples/mspm0g3507/Cargo.toml | 2 +- examples/nrf52840/Cargo.toml | 4 ++-- examples/nrf5340/Cargo.toml | 2 +- examples/nrf54l15/Cargo.toml | 4 ++-- examples/nrf54lm20/Cargo.toml | 4 ++-- examples/nrf9160/Cargo.toml | 4 ++-- examples/rp/Cargo.toml | 4 ++-- examples/rp235x/Cargo.toml | 2 +- examples/std/Cargo.toml | 4 ++-- examples/stm32f4/Cargo.toml | 4 ++-- examples/stm32f7/Cargo.toml | 2 +- examples/stm32g0/Cargo.toml | 2 +- examples/stm32h5/Cargo.toml | 4 ++-- examples/stm32h7/Cargo.toml | 4 ++-- examples/stm32h723/Cargo.toml | 4 ++-- examples/stm32h742/Cargo.toml | 2 +- examples/stm32h755cm4/Cargo.toml | 4 ++-- examples/stm32h755cm7/Cargo.toml | 4 ++-- examples/stm32h7b0/Cargo.toml | 4 ++-- examples/stm32h7rs/Cargo.toml | 4 ++-- examples/stm32l0/Cargo.toml | 4 ++-- examples/stm32l4/Cargo.toml | 4 ++-- examples/stm32l5/Cargo.toml | 2 +- examples/stm32n6/Cargo.toml | 2 +- examples/stm32wle5/Cargo.toml | 2 +- 26 files changed, 42 insertions(+), 42 deletions(-) (limited to 'examples') diff --git a/examples/mcxa/Cargo.toml b/examples/mcxa/Cargo.toml index 347659f5b..29d319375 100644 --- a/examples/mcxa/Cargo.toml +++ b/examples/mcxa/Cargo.toml @@ -18,7 +18,7 @@ embassy-mcxa = { path = "../../embassy-mcxa", features = ["defmt", "unstable-pac embassy-sync = "0.7.2" embassy-time = "0.5.0" embassy-time-driver = "0.2.1" -embedded-io-async = "0.6.1" +embedded-io-async = "0.7.0" heapless = "0.9.2" panic-probe = { version = "1.0", features = ["print-defmt"] } rand_core = "0.9" diff --git a/examples/mspm0g3507/Cargo.toml b/examples/mspm0g3507/Cargo.toml index 8c230f038..f4fc7e09f 100644 --- a/examples/mspm0g3507/Cargo.toml +++ b/examples/mspm0g3507/Cargo.toml @@ -18,7 +18,7 @@ defmt-rtt = "1.0.0" panic-probe = { version = "1.0.0", features = ["print-defmt"] } panic-semihosting = "0.6.0" -embedded-io-async = "0.6.1" +embedded-io-async = { version = "0.7.0" } [profile.release] debug = 2 diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml index a57bd7b24..15c187328 100644 --- a/examples/nrf52840/Cargo.toml +++ b/examples/nrf52840/Cargo.toml @@ -13,8 +13,8 @@ embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["de embassy-nrf = { version = "0.9.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time", "net-driver"] } embassy-net = { version = "0.7.1", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet","udp", "medium-ieee802154", "proto-ipv6"] } embassy-usb = { version = "0.5.1", path = "../../embassy-usb", features = ["defmt"] } -embedded-io = { version = "0.6.0", features = ["defmt-03"] } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io = { version = "0.7.1", features = ["defmt"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } embassy-net-esp-hosted = { version = "0.2.1", path = "../../embassy-net-esp-hosted", features = ["defmt"] } embassy-net-enc28j60 = { version = "0.2.1", path = "../../embassy-net-enc28j60", features = ["defmt"] } diff --git a/examples/nrf5340/Cargo.toml b/examples/nrf5340/Cargo.toml index b8d5dbfb1..c54a84d22 100644 --- a/examples/nrf5340/Cargo.toml +++ b/examples/nrf5340/Cargo.toml @@ -13,7 +13,7 @@ embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["de embassy-nrf = { version = "0.9.0", path = "../../embassy-nrf", features = ["defmt", "nrf5340-app-s", "time-driver-rtc1", "gpiote", "unstable-pac"] } embassy-net = { version = "0.7.1", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] } embassy-usb = { version = "0.5.1", path = "../../embassy-usb", features = ["defmt"] } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } defmt = "1.0.1" defmt-rtt = "1.0.0" diff --git a/examples/nrf54l15/Cargo.toml b/examples/nrf54l15/Cargo.toml index 353d1b46e..9940443ff 100644 --- a/examples/nrf54l15/Cargo.toml +++ b/examples/nrf54l15/Cargo.toml @@ -11,8 +11,8 @@ embassy-executor = { version = "0.9.0", path = "../../embassy-executor", feature embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["defmt"] } embassy-nrf = { version = "0.9.0", path = "../../embassy-nrf", features = ["defmt", "nrf54l15-app-s", "time-driver-grtc", "gpiote", "unstable-pac", "time"] } -embedded-io = { version = "0.6.0", features = ["defmt-03"] } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io = { version = "0.7.0", features = ["defmt"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } rand = { version = "0.9.0", default-features = false } diff --git a/examples/nrf54lm20/Cargo.toml b/examples/nrf54lm20/Cargo.toml index e3bf22b25..78ce60596 100644 --- a/examples/nrf54lm20/Cargo.toml +++ b/examples/nrf54lm20/Cargo.toml @@ -11,8 +11,8 @@ embassy-executor = { version = "0.9.0", path = "../../embassy-executor", feature embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["defmt"] } embassy-nrf = { version = "0.9.0", path = "../../embassy-nrf", features = ["defmt", "nrf54lm20-app-s", "time-driver-grtc", "gpiote", "unstable-pac", "time"] } -embedded-io = { version = "0.6.0", features = ["defmt-03"] } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io = { version = "0.7.0", features = ["defmt"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } rand = { version = "0.9.0", default-features = false } diff --git a/examples/nrf9160/Cargo.toml b/examples/nrf9160/Cargo.toml index 907b06e6d..bad7fdc79 100644 --- a/examples/nrf9160/Cargo.toml +++ b/examples/nrf9160/Cargo.toml @@ -20,8 +20,8 @@ cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-sing cortex-m-rt = "0.7.0" panic-probe = { version = "1.0.0", features = ["print-defmt"] } static_cell = { version = "2" } -embedded-io = "0.6.1" -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io = { version = "0.7.1" } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } [profile.release] debug = 2 diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index e247f6f7a..1a5712dd3 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml @@ -26,7 +26,7 @@ fixed = "1.23.1" fixed-macro = "1.2" # for web request example -reqwless = { version = "0.13.0", features = ["defmt"] } +reqwless = { git = "https://github.com/drogue-iot/reqwless", rev = "68f703dfc16e6f7f964b7238c922c0d433118872", features = ["defmt"] } serde = { version = "1.0.203", default-features = false, features = ["derive"] } serde-json-core = "0.5.1" @@ -50,7 +50,7 @@ usbd-hid = "0.9.0" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = "1.0" embedded-hal-bus = { version = "0.1", features = ["async"] } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } embedded-storage = { version = "0.3" } static_cell = "2.1" portable-atomic = { version = "1.5", features = ["critical-section"] } diff --git a/examples/rp235x/Cargo.toml b/examples/rp235x/Cargo.toml index 16dfb5b77..bc2bcf5b6 100644 --- a/examples/rp235x/Cargo.toml +++ b/examples/rp235x/Cargo.toml @@ -51,7 +51,7 @@ usbd-hid = "0.9.0" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = "1.0" embedded-hal-bus = { version = "0.1", features = ["async"] } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } embedded-storage = { version = "0.3" } static_cell = "2.1" portable-atomic = { version = "1.5", features = ["critical-section"] } diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 0e3b3c6d5..06f1ba67e 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml @@ -12,8 +12,8 @@ embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["lo embassy-net = { version = "0.7.1", path = "../../embassy-net", features=[ "log", "medium-ethernet", "medium-ip", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6"] } embassy-net-tuntap = { version = "0.1.1", path = "../../embassy-net-tuntap" } embassy-net-ppp = { version = "0.2.1", path = "../../embassy-net-ppp", features = ["log"]} -embedded-io-async = { version = "0.6.1" } -embedded-io-adapters = { version = "0.6.1", features = ["futures-03"] } +embedded-io-async = { version = "0.7.0" } +embedded-io-adapters = { version = "0.7.0", features = ["futures-03"] } critical-section = { version = "1.1", features = ["std"] } async-io = "1.6.0" diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index b4555045a..5bcf66ade 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml @@ -23,8 +23,8 @@ cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-sing cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-bus = { version = "0.2", features = ["async"] } -embedded-io = { version = "0.6.0" } -embedded-io-async = { version = "0.6.1" } +embedded-io = { version = "0.7.1" } +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } futures-util = { version = "0.3.30", default-features = false } heapless = { version = "0.8", default-features = false } diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index 565277394..a952b770b 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml @@ -12,7 +12,7 @@ embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["de embassy-executor = { version = "0.9.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] } embassy-time = { version = "0.5.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } embassy-net = { version = "0.7.1", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"] } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } embassy-usb = { version = "0.5.0", path = "../../embassy-usb", features = ["defmt"] } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 16f28500d..a25a01e59 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml @@ -24,7 +24,7 @@ panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } portable-atomic = { version = "1.5", features = ["unsafe-assume-single-core"] } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } [profile.release] debug = 2 diff --git a/examples/stm32h5/Cargo.toml b/examples/stm32h5/Cargo.toml index 512186c3d..f674a2936 100644 --- a/examples/stm32h5/Cargo.toml +++ b/examples/stm32h5/Cargo.toml @@ -23,8 +23,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-io-async = { version = "0.6.1" } -embedded-nal-async = "0.8.0" +embedded-io-async = { version = "0.7.0" } +embedded-nal-async = "0.9.0" panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index 09b734054..8f4b2bf4f 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml @@ -24,8 +24,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h723/Cargo.toml b/examples/stm32h723/Cargo.toml index 93a5109e2..8b3f8dc55 100644 --- a/examples/stm32h723/Cargo.toml +++ b/examples/stm32h723/Cargo.toml @@ -21,8 +21,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h742/Cargo.toml b/examples/stm32h742/Cargo.toml index 9b5e5d93d..7ff4dfbe4 100644 --- a/examples/stm32h742/Cargo.toml +++ b/examples/stm32h742/Cargo.toml @@ -33,7 +33,7 @@ embassy-net = { version = "0.7.1", path = "../../embassy-net", features = [ "dhcpv4", "medium-ethernet", ] } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } embassy-usb = { version = "0.5.1", path = "../../embassy-usb", features = [ "defmt", ] } diff --git a/examples/stm32h755cm4/Cargo.toml b/examples/stm32h755cm4/Cargo.toml index d69f0228e..e5be0056f 100644 --- a/examples/stm32h755cm4/Cargo.toml +++ b/examples/stm32h755cm4/Cargo.toml @@ -24,8 +24,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h755cm7/Cargo.toml b/examples/stm32h755cm7/Cargo.toml index f4e1e53b7..42c05549b 100644 --- a/examples/stm32h755cm7/Cargo.toml +++ b/examples/stm32h755cm7/Cargo.toml @@ -24,8 +24,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h7b0/Cargo.toml b/examples/stm32h7b0/Cargo.toml index 0509d394d..434bfebce 100644 --- a/examples/stm32h7b0/Cargo.toml +++ b/examples/stm32h7b0/Cargo.toml @@ -23,8 +23,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32h7rs/Cargo.toml b/examples/stm32h7rs/Cargo.toml index ab525ad91..74664432f 100644 --- a/examples/stm32h7rs/Cargo.toml +++ b/examples/stm32h7rs/Cargo.toml @@ -23,8 +23,8 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-nal-async = "0.8.0" -embedded-io-async = { version = "0.6.1" } +embedded-nal-async = "0.9.0" +embedded-io-async = { version = "0.7.0" } panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } critical-section = "1.1" diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index a9c71d655..c06c761c9 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml @@ -18,8 +18,8 @@ defmt = "1.0.1" defmt-rtt = "1.0.0" embedded-storage = "0.3.1" -embedded-io = { version = "0.6.0" } -embedded-io-async = { version = "0.6.1" } +embedded-io = { version = "0.7.1" } +embedded-io-async = { version = "0.7.0" } cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } cortex-m-rt = "0.7.0" diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 936472199..995c8c694 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml @@ -16,8 +16,8 @@ embassy-usb = { version = "0.5.0", path = "../../embassy-usb", features = ["defm embassy-net-adin1110 = { version = "0.3.1", path = "../../embassy-net-adin1110" } embassy-net = { version = "0.7.1", path = "../../embassy-net", features = ["defmt", "udp", "tcp", "dhcpv4", "medium-ethernet"] } embassy-futures = { version = "0.1.2", path = "../../embassy-futures" } -embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } -embedded-io = { version = "0.6.0", features = ["defmt-03"] } +embedded-io-async = { version = "0.7.0", features = ["defmt"] } +embedded-io = { version = "0.7.1", features = ["defmt"] } defmt = "1.0.1" defmt-rtt = "1.0.0" diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml index 586b00836..b6d14ce25 100644 --- a/examples/stm32l5/Cargo.toml +++ b/examples/stm32l5/Cargo.toml @@ -24,7 +24,7 @@ cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-sing cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" heapless = { version = "0.8", default-features = false } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } static_cell = "2" [profile.release] diff --git a/examples/stm32n6/Cargo.toml b/examples/stm32n6/Cargo.toml index 5ad5b97ce..fdfaed531 100644 --- a/examples/stm32n6/Cargo.toml +++ b/examples/stm32n6/Cargo.toml @@ -23,7 +23,7 @@ cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" embedded-hal-1 = { package = "embedded-hal", version = "1.0" } embedded-hal-async = { version = "1.0" } -embedded-io-async = { version = "0.6.1" } +embedded-io-async = { version = "0.7.0" } embedded-nal-async = "0.8.0" panic-probe = { version = "1.0.0", features = ["print-defmt"] } heapless = { version = "0.8", default-features = false } diff --git a/examples/stm32wle5/Cargo.toml b/examples/stm32wle5/Cargo.toml index f2fc4dd3d..64c81c761 100644 --- a/examples/stm32wle5/Cargo.toml +++ b/examples/stm32wle5/Cargo.toml @@ -15,7 +15,7 @@ embassy-embedded-hal = { version = "0.5.0", path = "../../embassy-embedded-hal" defmt = "1.0.1" defmt-rtt = { version = "1.1.0", optional = true } -defmt-serial = { version = "0.10.0", optional = true } +defmt-serial = { git = "https://github.com/gauteh/defmt-serial", rev = "411ae7fa909b4fd2667885aff687e009b9108190", optional = true } cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } cortex-m-rt = "0.7.0" -- cgit