2021-01-22 09:18:12 -05:00
|
|
|
[package]
|
2021-07-03 10:15:39 +02:00
|
|
|
name = "pico"
|
2021-01-22 09:18:12 -05:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["evan <evanmolder@gmail.com>"]
|
|
|
|
edition = "2018"
|
2021-07-03 10:15:39 +02:00
|
|
|
homepage = "https://github.com/rp-rs/rp-hal/boards/pico"
|
2021-01-25 15:42:43 -05:00
|
|
|
description = "Board Support Package for the Raspberry Pi Pico"
|
2021-01-22 09:18:12 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-03 10:15:39 +02:00
|
|
|
cortex-m = "0.7.2"
|
2021-09-22 20:43:30 +10:00
|
|
|
rp2040-hal = { path = "../../rp2040-hal", version = "0.3.0"}
|
2021-09-15 07:07:25 +02:00
|
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
2021-07-26 21:16:09 +02:00
|
|
|
embedded-time = "0.12.0"
|
2021-09-10 23:39:01 +10:00
|
|
|
usb-device= "0.2.8"
|
2021-09-09 08:55:30 +01:00
|
|
|
usbd-serial = "0.1.1"
|
2021-09-25 09:10:01 +00:00
|
|
|
usbd-hid = "0.5.1"
|
2021-11-08 12:23:28 +00:00
|
|
|
futures = { version = "0.3", default-features = false, optional = true }
|
|
|
|
|
|
|
|
[dependencies.embassy]
|
|
|
|
git = "https://github.com/embassy-rs/embassy"
|
|
|
|
rev = "a8797f84f69b7668a3f89b6cba3e39bce5649079"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
# namespaced features will let use use "dep:embassy-traits" in the features rather than using this
|
|
|
|
# trick of renaming the crate.
|
|
|
|
[dependencies.embassy_traits]
|
|
|
|
git = "https://github.com/embassy-rs/embassy"
|
|
|
|
rev = "a8797f84f69b7668a3f89b6cba3e39bce5649079"
|
|
|
|
package = "embassy-traits"
|
|
|
|
optional = true
|
2021-07-26 12:24:58 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
panic-halt= "0.2.0"
|
|
|
|
embedded-hal ="0.2.5"
|
2021-09-14 07:59:55 -06:00
|
|
|
cortex-m-rtic = "0.6.0-alpha.5"
|
2021-10-18 10:52:01 +01:00
|
|
|
rp2040-boot2 = "0.2"
|
2021-09-16 09:47:34 +01:00
|
|
|
nb = "1.0"
|
2021-10-23 12:45:13 +01:00
|
|
|
i2c-pio = { git = "https://github.com/ithinuel/i2c-pio-rs", rev = "fb6167d02b7fbc46a83f344f5242823bcd16e271" }
|
2021-07-07 04:33:36 -05:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["rt"]
|
2021-09-09 08:55:30 +01:00
|
|
|
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
2021-11-08 12:23:28 +00:00
|
|
|
embassy-traits = ["futures", "embassy", "embassy_traits"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "pico_i2c_controller_peripheral"
|
|
|
|
required-features = ["embassy-traits"]
|