Implemented postcard-rpc.

This commit is contained in:
2025-08-04 16:58:34 +02:00
parent 18220e4be9
commit 4cd3beba73
6 changed files with 537 additions and 36 deletions

View File

@@ -6,21 +6,24 @@ edition = "2021"
[dependencies]
# Change stm32h563zi to your chip name, if necessary.
embassy-stm32 = { version = "0.2.0", features = ["defmt", "stm32h533re", "memory-x", "time-driver-any", "exti", "unstable-pac", "low-power"] }
embassy-sync = { version = "0.7.0", features = ["defmt"] }
embassy-sync = { version = "0.6.0", features = ["defmt"] }
embassy-executor = { version = "0.7.0", features = ["arch-cortex-m", "executor-thread", "defmt"] }
embassy-time = { version = "0.4.0", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
embassy-embedded-hal = { version = "0.3.1", features = ["defmt"] }
embassy-embedded-hal = { version = "0.4.0", features = ["defmt"]}
# embassy-net = { version = "0.7.0", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "proto-ipv6"] }
# embassy-usb = { version = "0.4.0", features = ["defmt"] }
# embassy-futures = { version = "0.1.0"}
embassy-usb = { version = "0.4.0", features = ["defmt"] }
embassy-futures = { version = "0.1.0"}
defmt = "1.0.1"
defmt-rtt = "1.0.0"
bitflags = "2.9.1"
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7.0"
postcard-rpc = {version = "0.11.12", features = ["embassy-usb-0_4-server", "defmt"]}
bioz-icd = {path = "../bioz-icd-rs"}
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7.5"
# embedded-hal = "0.2.6"
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
# embedded-hal-async = { version = "1.0" }