From 5fa38b20796b907fbc08565fced532f7167362e6 Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Tue, 14 May 2024 13:51:13 -0500 Subject: [PATCH] opt z (flash scarce) --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ad1ee19..0fcde5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,8 @@ panic-halt = "0.2.0" ufmt = "0.2.0" nb = "1" embedded-hal = "1" +avr-device-macros = "0" +avr-device = "0" [dependencies.avr-hal-generic] git = "https://github.com/rahix/avr-hal" @@ -39,4 +41,4 @@ panic = "abort" codegen-units = 1 debug = true lto = true -opt-level = "s" +opt-level = "z"