From 12232bfba990137db6acbc7bbf848e2b39ba8b1e Mon Sep 17 00:00:00 2001 From: kirbylife Date: Thu, 30 Mar 2023 22:09:09 -0600 Subject: [PATCH] Add new optimizations to do the elf smoler --- Cargo.toml | 4 +++- build.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5c1744c..db604a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,12 @@ arduino-hal = { git = "https://github.com/rahix/avr-hal", features = ["arduino- panic-halt = "0.2.0" sha1_smol = "1.0.0" binascii = { version = "0.1", default-features = false, features = ["decode"] } +ds323x = "0.5.0" +ufmt = "0.2.0" [profile.release] lto = true panic = "abort" strip = true opt-level = "z" -codegen-units = 1 \ No newline at end of file +codegen-units = 1 diff --git a/build.sh b/build.sh index 03eca32..5347662 100755 --- a/build.sh +++ b/build.sh @@ -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