Added test application for flashing

This commit is contained in:
Sebastian 2024-10-04 16:20:36 +02:00
parent 77eebdf795
commit b2830a1fbc
5 changed files with 115 additions and 3 deletions

73
Cargo.lock generated
View file

@ -320,6 +320,42 @@ dependencies = [
"powerfmt",
]
[[package]]
name = "dfu-core"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c3fb34e94bedc8bbd76dfc9f6774896fadbbedac6108fa8a3c46a0125bde188"
dependencies = [
"bytes",
"displaydoc",
"log",
"pretty-hex",
"thiserror",
]
[[package]]
name = "dfu-libusb"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e20ae81db46fd54fede9e71d06c06a382926212831cfd2f758b888e00a321d1"
dependencies = [
"dfu-core",
"libusb1-sys",
"rusb",
"thiserror",
]
[[package]]
name = "displaydoc"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.72",
]
[[package]]
name = "document-features"
version = "0.2.10"
@ -741,6 +777,18 @@ dependencies = [
"pkg-config",
]
[[package]]
name = "libusb1-sys"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17f6bace2f39082e9787c851afce469e7b2fe0f1cc64bbc68ca96653b63d8f17"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "litrs"
version = "0.4.1"
@ -1065,6 +1113,12 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]]
name = "pretty-hex"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6fa0831dd7cc608c38a5e323422a0077678fa5744aa2be4ad91c4ece8eec8d5"
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@ -1157,12 +1211,15 @@ version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"dfu-libusb",
"fern",
"humantime",
"libusb1-sys",
"log",
"nom",
"postcard",
"radomctl-protocol",
"rusb",
"serde_json",
"serialport",
"tokio",
@ -1256,6 +1313,16 @@ dependencies = [
"rtic-common",
]
[[package]]
name = "rusb"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45fff149b6033f25e825cbb7b2c625a11ee8e6dac09264d49beb125e39aa97bf"
dependencies = [
"libc",
"libusb1-sys",
]
[[package]]
name = "rustc-demangle"
version = "0.1.24"
@ -1821,6 +1888,12 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77439c1b53d2303b20d9459b1ade71a83c716e3f9c34f3228c00e6f185d6c002"
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version_check"
version = "0.9.5"