mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
280de7cb99
There are a lot of non-binary crates depending on rp2040-hal. That way, the default-features of rp2040-hal may be activated unintentionally through an indirect dependency. Therefore, a binary crate which wants to disable the `critical-section-impl` feature to provide its own one could have a hard time to do so. In contrast, the board support crates are usually only used by top-level binary crates. So disabling the default features on those should usually just work. Binary crates depending on rp2040-hal directly, which don't use any board support crate, might need to activate the feature manually. This is reasonable because those binary crates need to replicate some boilerplate from the board crates anyhow.
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "pimoroni-plasma-2040"
|
|
version = "0.2.1"
|
|
authors = ["Jordan Williams <jordan@jwillikers.com>", "The rp-rs Developers"]
|
|
edition = "2018"
|
|
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/pimoroni-plasma-2040"
|
|
description = "Board Support Package for the Pimoroni Plasma 2040"
|
|
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.5.0" }
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
|
embedded-time = "0.12.0"
|
|
|
|
[dev-dependencies]
|
|
rp2040-hal = { path = "../../rp2040-hal", version = "0.5.0", features = [ "defmt" ] }
|
|
panic-halt= "0.2.0"
|
|
embedded-hal ="0.2.5"
|
|
smart-leds = "0.3.0"
|
|
ws2812-pio = "0.3.0"
|
|
|
|
defmt = "0.3.0"
|
|
defmt-rtt = "0.3.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"]
|