mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
2c3a0956fa
Sorry this is a large commit :( This adds support for input pins, including pulling them high or low. It also adds two examples: the start of a classic blinky LED example, and an example for reading input.
22 lines
700 B
TOML
22 lines
700 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.1"
|
|
embedded-hal = { version = "0.2.4", features = ["unproven"] }
|
|
nb = "1.0.0"
|
|
rp2040-pac = { git = "https://github.com/rp-rs/rp2040-pac", branch="main" }
|
|
|
|
[dev-dependencies]
|
|
cortex-m-rt = "0.6.13"
|
|
panic-halt = "0.2.0"
|
|
rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", branch="main" }
|