diff options
| author | Sjoerd Simons <[email protected]> | 2021-12-29 16:03:25 +0100 |
|---|---|---|
| committer | Sjoerd Simons <[email protected]> | 2021-12-30 10:53:01 +0100 |
| commit | f0f08f298bc7fd8b60685d3cc11a02a3829b650b (patch) | |
| tree | 359ec36ba01f55f5fcd7831515d611143a1def8f /examples | |
| parent | 92f2c6d09c3bd2d11d8a5c7a56bd4208f9720895 (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.toml | 3 |
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"] } | |||
| 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 21 | heapless = { version = "0.7.5", default-features = false } | 21 | heapless = { version = "0.7.5", default-features = false } |
| 22 | nb = "1.0.0" | 22 | nb = "1.0.0" |
| 23 | |||
| 24 | [profile.dev] | ||
| 25 | opt-level = "s" | ||
