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
29 lines
918 B
TOML
29 lines
918 B
TOML
[package]
|
|
name = "adafruit-macropad"
|
|
version = "0.4.0"
|
|
authors = ["Andrea Nall <anall@andreanal.com>", "The rp-rs Developers"]
|
|
edition = "2018"
|
|
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/adafruit_macropad"
|
|
description = "Board Support Package for the Adafruit Macropad"
|
|
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 }
|
|
|
|
[dev-dependencies]
|
|
panic-halt= "0.2.0"
|
|
embedded-hal ="0.2.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"]
|
|
|