starting with library and measurment implementation

This commit is contained in:
2026-01-01 21:20:55 +01:00
parent 03f17d5cd6
commit df6d9bf03d
5 changed files with 117 additions and 10 deletions
Generated
+34
View File
@@ -46,14 +46,18 @@ dependencies = [
"ch32-metapac 0.0.6",
"embassy-executor",
"embassy-futures",
"embassy-sync 0.7.2",
"embassy-time 0.4.0",
"embassy-usb",
"embedded-hal 1.0.0",
"heapless",
"ina219",
"lib-bms-protocol",
"micromath",
"panic-halt",
"qingke",
"qingke-rt",
"thiserror",
]
[[package]]
@@ -518,6 +522,16 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
[[package]]
name = "ina219"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "457a68120d2d0f0ca1b5c7f8e0ff3f77db9e34b1076a4e82f7097cbde7d2aaa4"
dependencies = [
"embedded-hal 1.0.0",
"embedded-hal-async",
]
[[package]]
name = "lib-bms-protocol"
version = "0.1.0"
@@ -804,6 +818,26 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "thiserror"
version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.111",
]
[[package]]
name = "unicode-ident"
version = "1.0.22"