Add new optimizations to do the elf smoler

main
kirbylife 2023-03-30 22:09:09 -06:00
parent 28a17491e7
commit 12232bfba9
2 changed files with 4 additions and 2 deletions

View File

@ -8,10 +8,12 @@ arduino-hal = { git = "https://github.com/rahix/avr-hal", features = ["arduino-
panic-halt = "0.2.0" panic-halt = "0.2.0"
sha1_smol = "1.0.0" sha1_smol = "1.0.0"
binascii = { version = "0.1", default-features = false, features = ["decode"] } binascii = { version = "0.1", default-features = false, features = ["decode"] }
ds323x = "0.5.0"
ufmt = "0.2.0"
[profile.release] [profile.release]
lto = true lto = true
panic = "abort" panic = "abort"
strip = true strip = true
opt-level = "z" opt-level = "z"
codegen-units = 1 codegen-units = 1

View File

@ -1 +1 @@
cargo build -Z build-std=core --target avr-atmega328p.json --release cargo build -Z build-std-features=panic_immediate_abort -Z build-std=core --target avr-atmega328p.json --release