initial commit
This commit is contained in:
commit
603a5af989
8 changed files with 769 additions and 0 deletions
36
Cargo.toml
Normal file
36
Cargo.toml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[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"
|
||||
ch32-hal = {git = "https://github.com/ch32-rs/ch32-hal", features = [
|
||||
"ch32v003f4p6",
|
||||
"embassy",
|
||||
]}
|
||||
qingke-rt = { version = "0.4.0", features = ["highcode"] }
|
||||
qingke = "0.4.0"
|
||||
embedded-hal = "1.0.0"
|
||||
|
||||
embassy-executor = {version = "0.6.0", features = [
|
||||
# "integrated-timers",
|
||||
"arch-spin",
|
||||
"executor-thread",
|
||||
"task-arena-size-128", # or better use nightly, but fails on recent Rust versions
|
||||
]}
|
||||
embassy-time = { version = "0.3.0" }
|
||||
fugit = "0.3.7"
|
||||
|
||||
[profile.dev]
|
||||
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
|
||||
lto = true
|
||||
opt-level = "s" # Optimize for size.
|
||||
|
||||
[dev-dependencies]
|
||||
# No entries, since `no_std` projects are often incompatible with standard tests
|
||||
Loading…
Add table
Add a link
Reference in a new issue