42 lines
1.0 KiB
TOML
Raw Normal View History

2024-09-17 18:07:45 +02:00
[package]
name = "embassy-example"
version = "0.1.0"
edition = "2021"
[dependencies]
2025-02-13 17:06:53 +01:00
cfg-if = "1"
2024-09-17 18:07:45 +02:00
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7"
embedded-hal = "1"
2024-09-23 17:13:49 +02:00
embedded-io = "0.6"
2025-02-15 12:45:31 +01:00
embedded-hal-async = "1"
embedded-io-async = "0.6"
2024-09-17 18:07:45 +02:00
rtt-target = { version = "0.5" }
2025-02-15 21:04:52 +01:00
heapless = "0.8"
2024-09-17 18:07:45 +02:00
panic-rtt-target = { version = "0.1" }
2025-02-15 21:04:52 +01:00
static_cell = "2"
2024-09-17 18:07:45 +02:00
critical-section = "1"
2025-02-15 12:45:31 +01:00
once_cell = { version = "1", default-features = false, features = ["critical-section"] }
ringbuf = { version = "0.4", default-features = false }
2024-09-17 18:07:45 +02:00
2025-02-15 12:45:31 +01:00
embassy-sync = "0.6"
embassy-time = "0.4"
embassy-executor = { version = "0.7", features = [
"arch-cortex-m",
"executor-thread",
"executor-interrupt"
]}
2024-09-23 17:13:49 +02:00
2025-02-15 12:45:31 +01:00
va416xx-embassy = { path = "../../va416xx-embassy", default-features = false }
2024-09-17 18:07:45 +02:00
[dependencies.va416xx-hal]
path = "../../va416xx-hal"
features = ["va41630"]
[features]
2025-02-13 17:06:53 +01:00
default = ["ticks-hz-1_000", "va416xx-embassy/irq-tim14-tim15"]
custom-irqs = []
2024-09-17 18:07:45 +02:00
ticks-hz-1_000 = ["embassy-time/tick-hz-1_000"]
ticks-hz-32_768 = ["embassy-time/tick-hz-32_768"]