Thomas Kolb
d50f2cd723
This implements multiple measures for a more consistent control loop: - Use Alarm0 to generate a trigger signal every millisecond. This ensures that the loop’s update rate is constant. - Introduces the Logger module to handle UART communication in a non-blocking way (no interrupts, though). The Logger module has a internal, statically allocated queue to accomplish this.
46 lines
1.2 KiB
TOML
46 lines
1.2 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/", features = ["rt", "critical-section-impl"] }
|
|
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"
|
|
|
|
[build]
|
|
target = "thumbv6m-none-eabi"
|