[package] name = "pico" version = "0.1.0" authors = ["evan "] edition = "2018" homepage = "https://github.com/rp-rs/rp-hal/boards/pico" description = "Board Support Package for the Raspberry Pi Pico" 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" rp2040-hal = { path = "../../rp2040-hal", version = "0.3.0"} cortex-m-rt = { version = "0.7", optional = true } embedded-time = "0.12.0" usb-device= "0.2.8" usbd-serial = "0.1.1" usbd-hid = "0.5.1" 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 [dev-dependencies] panic-halt= "0.2.0" embedded-hal ="0.2.5" cortex-m-rtic = "0.6.0-alpha.5" rp2040-boot2 = "0.2" nb = "1.0" i2c-pio = { git = "https://github.com/ithinuel/i2c-pio-rs", rev = "fb6167d02b7fbc46a83f344f5242823bcd16e271" } [features] default = ["rt"] rt = ["cortex-m-rt","rp2040-hal/rt"] embassy-traits = ["futures", "embassy", "embassy_traits"] [[example]] name = "pico_i2c_controller_peripheral" required-features = ["embassy-traits"]