Initial commit

This commit is contained in:
Charlotte Gaskell 2025-11-09 11:38:45 +00:00
commit 0bf424118c
Signed by: charlotte
GPG key ID: 8B93BA001088A340
7 changed files with 974 additions and 0 deletions

35
Cargo.toml Normal file
View file

@ -0,0 +1,35 @@
[package]
name = "transit-display"
version = "0.1.0"
authors = ["Charlotte Gaskell <charlotte.gaskell.0@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[[bin]]
name = "transit-display"
test = false
bench = false
[dependencies]
panic-halt = "1.0.0"
ufmt = "0.2.0"
nb = "1.1.0"
embedded-hal = "1.0"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "5ccdd12d724d5b65273eb33a27cb55ab2ddcc865"
features = ["arduino-mega2560"]
# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"