66 lines
1.9 KiB
TOML
66 lines
1.9 KiB
TOML
[package]
|
|
name = "handkurbel"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["rt", "rom-v2-intrinsics", "defmt", "rtic-monotonic"]
|
|
targets = ["thumbv6m-none-eabi"]
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7.2"
|
|
embedded-hal = { version = "0.2.5", features = ["unproven"] }
|
|
eh1_0_alpha = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true }
|
|
embedded-dma = "0.2.0"
|
|
fugit = "0.3.6"
|
|
itertools = { version = "0.10.1", default-features = false }
|
|
nb = "1.0"
|
|
rp2040-pac = "0.4.0"
|
|
paste = "1.0"
|
|
pio = "0.2.0"
|
|
rp2040-hal = { path = "../rp-hal/rp2040-hal/" }
|
|
rp2040-hal-macros = "0.1.0"
|
|
usb-device = "0.2.9"
|
|
vcell = "0.1"
|
|
void = { version = "1.0.2", default-features = false }
|
|
rand_core = "0.6.3"
|
|
critical-section = { version = "1.0.0" }
|
|
heapless = "0.7.16"
|
|
|
|
chrono = { version = "0.4", default-features = false, optional = true }
|
|
|
|
defmt = { version = ">=0.2.0, <0.4", optional = true }
|
|
|
|
rtic-monotonic = { version = "1.0.0", optional = true }
|
|
|
|
#[dev-dependencies]
|
|
cortex-m-rt = "0.7"
|
|
panic-halt = "0.2.0"
|
|
rp2040-boot2 = "0.2.1"
|
|
|
|
[features]
|
|
# Minimal startup / runtime for Cortex-M microcontrollers
|
|
rt = ["rp2040-pac/rt"]
|
|
|
|
# Memoize(cache) ROM function pointers on first use to improve performance
|
|
rom-func-cache = []
|
|
|
|
# Disable automatic mapping of language features (like floating point math) to ROM functions
|
|
disable-intrinsics = []
|
|
|
|
# This enables ROM functions for f64 math that were not present in the earliest RP2040s
|
|
rom-v2-intrinsics = []
|
|
|
|
# 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
|
|
rp2040-e5 = []
|
|
|
|
# critical section that is safe for multicore use
|
|
critical-section-impl = ["critical-section/restore-state-u8"]
|
|
|
|
[build]
|
|
target = "thumbv6m-none-eabi"
|