ch32-dimmer-node/Cargo.toml
Jakob Lechner 5912a547ba Change controller to ch32v203f6p6
and use CAN for communication
2025-04-25 10:29:17 +02:00

49 lines
1.2 KiB
TOML

[package]
name = "ch32-dimmer-node"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "ch32-dimmer-node"
test = false
bench = false
[dependencies]
panic-halt = "1.0.0"
# https://github.com/ch32-rs/ch32-hal/pull/75
ch32-hal = {git = "https://github.com/paval-shlyk/ch32-hal", rev="ace32859924ab0d5e411521a8f392df01ce262ff", features = [
"ch32v203f6p6",
"embassy",
"time-driver-tim1",
]}
qingke-rt = { version = "0.5.0", features = ["highcode"] }
qingke = "0.5.0"
embedded-hal = "1.0.0"
embassy-executor = {version = "0.6.0", features = [
"integrated-timers",
"arch-spin",
"executor-thread",
# see https://docs.embassy.dev/embassy-executor/git/cortex-m/index.html#task-arena-size
#"task-arena-size-64",
"task-arena-size-128"
#"task-arena-size-192",
#"task-arena-size-256",
]}
fugit = "0.3.7"
embassy-time = { version = "0.3.0" }
[profile.release]
strip = true
opt-level = "z"
lto = "fat"
[profile.dev]
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
opt-level = "s" # Optimize for size.
[dev-dependencies]
# No entries, since `no_std` projects are often incompatible with standard tests