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
This commit is contained in:
Sjoerd Simons 2021-12-29 16:03:25 +01:00
parent 92f2c6d09c
commit f0f08f298b

View file

@ -20,3 +20,6 @@ panic-probe = { version = "0.3", features = ["print-defmt"] }
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
heapless = { version = "0.7.5", default-features = false }
nb = "1.0.0"
[profile.dev]
opt-level = "s"