mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
e681b67d9c
Enable critical-section-impl by default only from board crates, not from hal
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "vcc-gnd-yd-rp2040"
|
|
version = "0.2.0"
|
|
authors = ["Nicolas <nleguen@gmail.com>", "The rp-rs Developers"]
|
|
edition = "2018"
|
|
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/vcc-gnd-yd-rp2040"
|
|
description = "Board Support Package for the VCC-GND Studio YD-RP2040"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rp-rs/rp-hal.git"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7.2"
|
|
rp2040-boot2 = { version = "0.2.0", optional = true }
|
|
rp2040-hal = { path = "../../rp2040-hal", version = "0.6.0" }
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
|
fugit = "0.3.5"
|
|
usb-device= "0.2.9"
|
|
futures = { version = "0.3", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
panic-halt= "0.2.0"
|
|
embedded-hal ="0.2.5"
|
|
nb = "1.0"
|
|
smart-leds = "0.3.0"
|
|
ws2812-pio = "0.4.0"
|
|
pio = "0.2.0"
|
|
|
|
[features]
|
|
default = ["boot2", "rt", "critical-section-impl"]
|
|
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
|
boot2 = ["rp2040-boot2"]
|
|
rt = ["cortex-m-rt","rp2040-hal/rt"]
|