clock_generator/firmware/rust/Cargo.toml
finga aa59bc302d fw-rust: Create a PWM signal for the backlight
To have a dimmable backlight, generate a variable duty-cycle PWM
signal which is consumed by the backlight driver circuit.
2022-03-06 19:20:49 +01:00

34 lines
597 B
TOML

[package]
name = "clock-generator"
version = "0.1.0-dev"
authors = ["finga <finga@onders.org>"]
edition = "2018"
license = "GPL-3.0-or-later"
[[bin]]
name = "clock-generator"
test = false
bench = false
[dependencies]
panic-halt = "0.2"
nb = "1.0"
embedded-hal = "0.2"
avr-device = { version = "0.3", features = ["atmega328p"] }
[dependencies.atmega-hal]
git = "https://github.com/rahix/avr-hal"
branch = "main"
features = ["atmega328p", "rt"]
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"