Various build size optimizations
This commit is contained in:
+4
-2
@@ -10,7 +10,6 @@ cortex-m = { version = "0.7.7", features = [
|
||||
"critical-section-single-core",
|
||||
] }
|
||||
cortex-m-rt = "0.7.5"
|
||||
critical-section = "1.2.0"
|
||||
defmt = "1.0.1"
|
||||
defmt-rtt = "1.1.0"
|
||||
embassy-executor = { version = "0.9.1", features = [
|
||||
@@ -38,6 +37,7 @@ embassy-usb = { version = "0.5.1", features = ["defmt"] }
|
||||
embedded-graphics = { version = "0.8.1", features = ["defmt"] }
|
||||
embedded-hal-bus = { version = "0.3.0", features = ["async"] }
|
||||
epd-waveshare = "0.6.0"
|
||||
panic-abort = "0.3.2"
|
||||
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
|
||||
postcard = { version = "1.1.3", features = ["defmt"] }
|
||||
serde = { version = "1.0.228", default-features = false, features = ["derive"] }
|
||||
@@ -45,6 +45,8 @@ static_cell = "2.1.1"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = "s"
|
||||
lto = "fat"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
opt-level = "z"
|
||||
lto = "fat"
|
||||
|
||||
Reference in New Issue
Block a user