33 lines
878 B
TOML
33 lines
878 B
TOML
[package]
|
|
name = "tests"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
panic-halt = "1.0.0"
|
|
avr-device = { version = "*", features = ["rt"] }
|
|
embedded-hal = "1.0.0"
|
|
atmega-hal = { git = "https://github.com/Rahix/avr-hal?tab=readme-ov-file", rev="cd3edea", version = "0.1.0", features=["atmega328p"] }
|
|
|
|
ufmt = "0.2.0"
|
|
mipidsi = "0.9.0"
|
|
embedded-graphics-core = "0.4.0"
|
|
# nb = "1.1.0"
|
|
# pwm-pca9685 = "1.0.0"
|
|
# infrared = "0.14.1"
|
|
# embedded-storage = "0.2"
|
|
# arduino-hal = { git = "https://github.com/Rahix/avr-hal?tab=readme-ov-file", version = "0.1.0", features=["arduino-uno"] }
|
|
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
opt-level = "s" # Size is more important than performance on MSP430.
|
|
codegen-units = 1 # Better size optimization.
|
|
lto = "fat" # _Much_ better size optimization.
|
|
|
|
[build]
|
|
rustflags = ["-C", "link-args=-lc", "--emit=llvm-ir"]
|