This commit is contained in:
2025-10-06 16:44:46 +02:00
parent 4ba68182e5
commit 712e8c8b8f
71 changed files with 187 additions and 36 deletions

View File

@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
ch32-hal = { path = "/home/empire/workspace/ch32-hal/", features = [
ch32-hal = { git = "https://github.com/empirephoenix/ch32-hal.git", features = [
"ch32v203c8t6",
"memory-x",
"embassy",
@@ -25,6 +25,7 @@ embassy-executor = { version = "0.7.0", features = [
embassy-usb = { version = "0.3.0" }
embassy-futures = { version = "0.1.0" }
embassy-sync = { version = "0.6.0" }
embedded-can = "0.4.1"
# This is okay because we should automatically use whatever ch32-hal uses
qingke-rt = "*"
@@ -35,13 +36,14 @@ panic-halt = "1.0"
heapless = { version = "0.8.0", features = ["portable-atomic-critical-section"] }
embassy-time = { version = "0.4.0" }
static_cell = "2.1.1"
[profile.dev]
#lto = true
opt-level = 1
[profile.release]
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
strip = true # symbols are not flashed to the microcontroller, so don't strip them.
lto = true
debug = false
opt-level = "z" # Optimize for size.