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
32 lines
1,004 B
TOML
32 lines
1,004 B
TOML
[package]
|
|
name = "adafruit-qt-py-rp2040"
|
|
version = "0.4.0"
|
|
authors = ["Stephen Onnen <stephen.onnen@gmail.com>", "The rp-rs Developers"]
|
|
edition = "2018"
|
|
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/adafruit-qt-py-rp2040"
|
|
description = "Board Support Package for the Adafruit QT Py 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-hal = { path = "../../rp2040-hal", version = "0.6.0" }
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
|
rp2040-boot2 = { version = "0.2.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
panic-halt= "0.2.0"
|
|
embedded-hal ="0.2.5"
|
|
smart-leds = "0.3"
|
|
nb = "1.0.0"
|
|
ws2812-pio = "0.4.0"
|
|
fugit = "0.3.5"
|
|
|
|
[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"]
|