47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[package]
|
|
name = "ch32v203-examples"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
ch32-hal = { path = "../ch32-hal", features = [
|
|
"ch32v203c8t6",
|
|
"memory-x",
|
|
"embassy",
|
|
"rt",
|
|
"time-driver-tim2",
|
|
], default-features = false }
|
|
|
|
embassy-executor = { version = "0.6.0", features = [
|
|
"integrated-timers",
|
|
"arch-riscv32",
|
|
"executor-thread",
|
|
] }
|
|
|
|
embassy-time = { version = "0.3.2" }
|
|
embassy-usb = { version = "0.3.0" }
|
|
embassy-futures = { version = "0.1.0" }
|
|
#embassy-rp = "0.2.0"
|
|
|
|
# This is okay because we should automatically use whatever ch32-hal uses
|
|
qingke-rt = "*"
|
|
qingke = "*"
|
|
|
|
panic-halt = "1.0"
|
|
|
|
display-interface-spi = "0.5.0"
|
|
embedded-hal = "1.0.0"
|
|
embedded-graphics = "0.8.1"
|
|
ssd1306 = "0.8.4"
|
|
heapless = "0.8.0"
|
|
micromath = { version = "2.1.0", features = ["num-traits"] }
|
|
|
|
# mipidsi = "0.7.1"
|
|
# embedded-hal-bus = "0.1.0"
|
|
|
|
|
|
[profile.release]
|
|
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
|
|
lto = true
|
|
opt-level = "z" # Optimize for size.
|