aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSjoerd Simons <[email protected]>2021-12-29 16:03:25 +0100
committerSjoerd Simons <[email protected]>2021-12-30 10:53:01 +0100
commitf0f08f298bc7fd8b60685d3cc11a02a3829b650b (patch)
tree359ec36ba01f55f5fcd7831515d611143a1def8f /examples
parent92f2c6d09c3bd2d11d8a5c7a56bd4208f9720895 (diff)
examples: stm32f1: Optimize for size on development builds
Even the basic examples seemingly need to be build optimized for size to allow flashing to a bluepill
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32f1/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml
index 84773b91b..765e91b5d 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -20,3 +20,6 @@ panic-probe = { version = "0.3", features = ["print-defmt"] }
20futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 20futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
21heapless = { version = "0.7.5", default-features = false } 21heapless = { version = "0.7.5", default-features = false }
22nb = "1.0.0" 22nb = "1.0.0"
23
24[profile.dev]
25opt-level = "s"