44 lines
909 B
TOML
44 lines
909 B
TOML
[package]
|
|
name = "ch32v-insert-coin"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
enable_print = []
|
|
|
|
[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
|
|
] }
|
|
|
|
panic-halt = "1.0"
|
|
|
|
embedded-hal = "1.0.0"
|
|
|
|
qingke-rt = { version = "*", features = ["highcode"] }
|
|
|
|
qingke = {path = "ext/qingke"}
|
|
|
|
adpcm-pwm-dac = { path = "ext/adpcm-pwm-dac/" }
|
|
|
|
wavetable-synth = { path = "ext/wavetable-synth" }
|
|
|
|
critical-section = { version = "1.2.0" }
|
|
|
|
[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
|