rp-pico-2-rust/Cargo.toml
2024-10-09 16:07:13 -05:00

34 lines
645 B
TOML

[package]
name = "rp2350-rust-playground"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "rp235x_program"
path = "src/main.rs"
test = false
doctest = false
bench = false
[dependencies]
embedded-hal = "1.0.0"
panic-halt = "0.2.0"
rp235x-hal = { version = "0.2.0", features = [
"binary-info",
"critical-section-impl",
"rt",
"defmt",
] }
[target.'cfg( target_arch = "arm" )'.dependencies]
embassy-executor = { version = "0.5", features = [
"arch-cortex-m",
"executor-thread",
] }
[target.'cfg( target_arch = "riscv32" )'.dependencies]
embassy-executor = { version = "0.5", features = [
"arch-riscv32",
"executor-thread",
] }