2022-07-18 16:23:07 +00:00
|
|
|
[package]
|
|
|
|
name = "arduino-pedal"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
2022-12-29 08:47:44 +00:00
|
|
|
panic-halt = "0.2.0"
|
2023-08-25 00:00:59 +00:00
|
|
|
avr-device = { version = "0.5.2", features = ["atmega328p"] }
|
2022-07-18 16:23:07 +00:00
|
|
|
arduino-hal = { git = "https://github.com/Rahix/avr-hal", features = ["arduino-uno"], rev = "1aacefb335517f85d0de858231e11055d9768cdf" }
|
2022-12-29 08:47:44 +00:00
|
|
|
ufmt = "0.2.0"
|
2022-07-18 16:23:07 +00:00
|
|
|
|
|
|
|
# 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"
|