mirror of
https://github.com/stakwork/sphinx-key.git
synced 2026-01-31 13:24:54 +01:00
Optimize factory binary size
This commit is contained in:
@@ -24,3 +24,10 @@ anyhow = "1"
|
||||
|
||||
[package.metadata.espflash]
|
||||
partition_table = "table.csv"
|
||||
|
||||
[profile.release]
|
||||
strip = true # Automatically strip symbols from the binary.
|
||||
opt-level = "z" # Optimize for size.
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
nvs, data, nvs, 0x9000, 0x4000,
|
||||
otadata, data, ota, 0xd000, 0x2000,
|
||||
phy_init, data, phy, 0xf000, 0x1000,
|
||||
factory, app, factory, 0x10000, 1200K,
|
||||
ota_0, app, ota_0, 0x140000, 2800K,
|
||||
factory, app, factory, 0x10000, 377K,
|
||||
ota_0, app, ota_0, 0x70000, 3648K,
|
||||
|
||||
|
Reference in New Issue
Block a user