Added usb serial communication

This commit is contained in:
Sebastian 2024-10-03 18:22:37 +02:00
parent bc557ccdeb
commit 8cf75ac70d
4 changed files with 245 additions and 17 deletions

View file

@ -10,7 +10,7 @@ defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] }
panic-probe = { version = "0.3", features = ["print-defmt"] }
rtic = { version = "2.0.1", features = [ "thumbv7-backend" ] }
defmt-rtt = "0.4"
stm32f4xx-hal = { version = "0.21.0", features = ["stm32f401"] }
stm32f4xx-hal = { version = "0.21.0", features = ["stm32f401", "usb_fs"] }
embedded-hal = {version = "1.0.0"}
nb = "1.0.0"
num-traits = { version = "0.2", default-features = false, features = ["libm"] }
@ -20,6 +20,12 @@ qmc5883l = "0.0.1"
rtic-monotonics = {version = "2.0.2", features = ["cortex-m-systick"]}
xca9548a = "0.2.1"
as5048a = { git = "https://github.com/LongHairedHacker/as5048a", rev="b15d716bf47ce4975a6cefebf82006c9b09e8fea"}
usb-device = "0.3.2"
usbd-serial = "0.2.2"
postcard = {version = "1.0.10", features = ["use-defmt"]}
heapless = {version = "0.8.0", features = ["defmt-03"]}
radomctl-protocol = { path = "../protocol" }
[features]
# set logging levels here