initial reoder of folders and library crate creation
This commit is contained in:
+5
-34
@@ -1,37 +1,6 @@
|
||||
[package]
|
||||
name = "bms"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
#ch32-hal = { git = "https://github.com/ch32-rs/ch32-hal", features = [
|
||||
ch32-hal = { git = "https://github.com/ju6ge/ch32-hal", branch = "feature/i2c-slave-api", features = [
|
||||
"ch32v203c8t6",
|
||||
"memory-x",
|
||||
"embassy",
|
||||
"rt",
|
||||
"time-driver-tim2",
|
||||
], default-features = false }
|
||||
|
||||
embassy-executor = { version = "0.7.0", features = [
|
||||
"arch-riscv32",
|
||||
"executor-thread",
|
||||
] }
|
||||
|
||||
embassy-time = { version = "0.4.0" }
|
||||
embassy-usb = { version = "0.3.0" }
|
||||
embassy-futures = { version = "0.1.0" }
|
||||
|
||||
# This is okay because we should automatically use whatever ch32-hal uses
|
||||
qingke-rt = "*"
|
||||
qingke = "*"
|
||||
|
||||
panic-halt = "1.0"
|
||||
|
||||
embedded-hal = "1.0.0"
|
||||
heapless = "0.8.0"
|
||||
micromath = { version = "2.1.0", features = ["num-traits"] }
|
||||
ch32-metapac = { version = "0.0.6", features = ["ch32v203c8t6"] }
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = [ "firmware", "lib-bms-protocol" ]
|
||||
|
||||
[profile.dev]
|
||||
#lto = true
|
||||
@@ -42,3 +11,5 @@ strip = false # symbols are not flashed to the microcontroller, so don't strip
|
||||
#lto = true
|
||||
debug = true
|
||||
opt-level = "z" # Optimize for size.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user