2021-01-23 01:18:12 +11:00
|
|
|
[package]
|
2021-12-23 22:18:52 +11:00
|
|
|
name = "rp-pico"
|
2023-02-18 23:08:31 +11:00
|
|
|
version = "0.7.0"
|
2022-03-12 22:43:16 +11:00
|
|
|
authors = ["evan <evanmolder@gmail.com>", "The rp-rs Developers"]
|
2021-01-23 01:18:12 +11:00
|
|
|
edition = "2018"
|
2022-12-11 20:57:27 +11:00
|
|
|
homepage = "https://github.com/rp-rs/rp-hal-boards/tree/main/boards/rp-pico"
|
2021-01-26 07:42:43 +11:00
|
|
|
description = "Board Support Package for the Raspberry Pi Pico"
|
2021-01-23 01:18:12 +11:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-12-11 21:33:01 +11:00
|
|
|
repository = "https://github.com/rp-rs/rp-hal-boards.git"
|
2021-01-23 01:18:12 +11:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-03 18:15:39 +10:00
|
|
|
cortex-m = "0.7.2"
|
2021-12-05 01:00:09 +11:00
|
|
|
rp2040-boot2 = { version = "0.2.0", optional = true }
|
2023-02-15 14:53:37 +11:00
|
|
|
rp2040-hal = { version = "0.8.0" }
|
2021-09-15 15:07:25 +10:00
|
|
|
cortex-m-rt = { version = "0.7", optional = true }
|
2022-08-19 05:14:51 +10:00
|
|
|
fugit = "0.3.5"
|
2022-08-03 05:43:00 +10:00
|
|
|
usb-device= "0.2.9"
|
2021-11-08 23:23:28 +11:00
|
|
|
|
2021-07-26 20:24:58 +10:00
|
|
|
[dev-dependencies]
|
2023-02-15 14:53:37 +11:00
|
|
|
rp2040-hal = { version = "0.8.0", featuers = [ "defmt" ] }
|
2021-07-26 20:24:58 +10:00
|
|
|
panic-halt= "0.2.0"
|
|
|
|
embedded-hal ="0.2.5"
|
2022-06-14 19:23:42 +10:00
|
|
|
cortex-m-rtic = "1.1.2"
|
2021-09-16 18:47:34 +10:00
|
|
|
nb = "1.0"
|
2023-02-18 21:30:04 +11:00
|
|
|
i2c-pio = "0.6.0"
|
2021-12-11 02:22:42 +11:00
|
|
|
heapless = "0.7.9"
|
2023-01-25 05:49:15 +11:00
|
|
|
embedded-sdmmc = "0.4.0"
|
2022-01-10 01:27:29 +11:00
|
|
|
smart-leds = "0.3.0"
|
2023-02-18 21:30:04 +11:00
|
|
|
ws2812-pio = "0.6.0"
|
2022-01-12 15:07:33 +11:00
|
|
|
ssd1306 = "0.7.0"
|
|
|
|
embedded-graphics = "0.7.1"
|
2022-05-31 23:08:02 +10:00
|
|
|
hd44780-driver = "0.4.0"
|
2022-06-26 22:11:41 +10:00
|
|
|
pio = "0.2.0"
|
|
|
|
pio-proc = "0.2.1"
|
2022-08-22 04:00:57 +10:00
|
|
|
critical-section = "1.0.0"
|
2022-08-26 12:42:33 +10:00
|
|
|
usbd-serial = "0.1.1"
|
|
|
|
usbd-hid = "0.5.1"
|
2022-01-10 00:16:35 +11:00
|
|
|
|
2022-07-26 05:32:49 +10:00
|
|
|
defmt = "0.3.0"
|
2022-11-25 20:05:04 +11:00
|
|
|
defmt-rtt = "0.4.0"
|
2021-07-07 19:33:36 +10:00
|
|
|
|
|
|
|
[features]
|
2022-10-03 11:46:12 +11:00
|
|
|
# This is the set of features we enable by default
|
2022-10-03 12:00:25 +11:00
|
|
|
default = ["boot2", "rt", "critical-section-impl", "rom-func-cache"]
|
2022-10-03 11:46:12 +11:00
|
|
|
|
|
|
|
# critical section that is safe for multicore use
|
2022-08-25 00:30:25 +10:00
|
|
|
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
2022-10-03 11:46:12 +11:00
|
|
|
|
|
|
|
# 2nd stage bootloaders for rp2040
|
2021-12-05 01:00:09 +11:00
|
|
|
boot2 = ["rp2040-boot2"]
|
2022-10-03 11:46:12 +11:00
|
|
|
|
|
|
|
# Minimal startup / runtime for Cortex-M microcontrollers
|
2021-09-09 17:55:30 +10:00
|
|
|
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
2022-10-03 11:46:12 +11:00
|
|
|
|
|
|
|
# This enables a fix for USB errata 5: USB device fails to exit RESET state on busy USB bus.
|
|
|
|
# Only required for RP2040 B0 and RP2040 B1, but it also works for RP2040 B2 and above
|
2022-08-18 07:22:36 +10:00
|
|
|
rp2040-e5 = ["rp2040-hal/rp2040-e5"]
|
2022-10-03 11:46:12 +11:00
|
|
|
|
|
|
|
# Memoize(cache) ROM function pointers on first use to improve performance
|
|
|
|
rom-func-cache = ["rp2040-hal/rom-func-cache"]
|
|
|
|
|
|
|
|
# Disable automatic mapping of language features (like floating point math) to ROM functions
|
|
|
|
disable-intrinsics = ["rp2040-hal/disable-intrinsics"]
|
|
|
|
|
|
|
|
# This enables ROM functions for f64 math that were not present in the earliest RP2040s
|
|
|
|
rom-v2-intrinsics = ["rp2040-hal/rom-v2-intrinsics"]
|
2022-10-07 04:31:31 +11:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "pico_rtic_monotonic"
|
|
|
|
required-features = ["rp2040-hal/rtic-monotonic"]
|