initial commit of heartbeat on ch32v
This commit is contained in:
commit
faa1622857
10 changed files with 750 additions and 0 deletions
36
ch32v-insert-coin/Cargo.toml
Normal file
36
ch32v-insert-coin/Cargo.toml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[package]
|
||||
name = "ch32v-insert-coin"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
ch32-hal = { path = "ext/ch32-hal/", features = [
|
||||
"ch32v003f4u6",
|
||||
"memory-x",
|
||||
"embassy",
|
||||
"time-driver-tim2",
|
||||
"rt",
|
||||
] }
|
||||
embassy-executor = { version = "0.7.0", features = [
|
||||
"arch-spin",
|
||||
"executor-thread",
|
||||
"task-arena-size-128", # or better use nightly, but fails on recent Rust versions
|
||||
#"nightly",
|
||||
] }
|
||||
|
||||
embassy-time = "0.4.0"
|
||||
panic-halt = "1.0"
|
||||
|
||||
embedded-hal = "1.0.0"
|
||||
|
||||
qingke-rt = { version = "*", features = ["highcode"] }
|
||||
|
||||
|
||||
|
||||
[profile.release]
|
||||
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
|
||||
lto = true
|
||||
opt-level = "s" # Optimize for size.
|
||||
|
||||
[profile.dev]
|
||||
overflow-checks = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue