rp-hal-boards/rp2040-hal/Cargo.toml
Andrea Nall 17f8a5ab99
Add 'rt' feature (#53)
For the HAL, currently just passes the feature to the PAC.

Also pass the 'rt' feature through to the HAL for all the BSP crates.
2021-07-07 19:33:36 +10:00

26 lines
767 B
TOML

[package]
name = "rp2040-hal"
version = "0.1.0"
authors = ["evan <evanmolder@gmail.com>"]
edition = "2018"
homepage = "https://github.com/rp-rs/rp-hal/boards/pico-bsc"
description = "A Rust Embeded-HAL impl for the rp2040 microcontroller"
license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cortex-m = "0.7.2"
embedded-hal = { version = "0.2.5", features=["unproven"] }
embedded-time = "0.10"
nb = "1.0"
rp2040-pac = { git = "https://github.com/rp-rs/rp2040-pac", branch="main" }
paste = "1.0"
[dev-dependencies]
cortex-m-rt = "0.6.14"
panic-halt = "0.2.0"
rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", branch="main" }
[features]
rt = ["rp2040-pac/rt"]