aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f1
diff options
context:
space:
mode:
authorPiotr Esden-Tempski <[email protected]>2023-07-26 18:32:40 -0700
committerPiotr Esden-Tempski <[email protected]>2023-07-26 18:32:40 -0700
commit858ddf6777d6df0e8c02921d29cd6a8095a7cdad (patch)
tree9cb7352469aea66ff666c403f25ffde9b174e2a1 /examples/stm32f1
parent77e34c5e8a7d31eac6fdc144a329027a0ce731a5 (diff)
Added debug=2 in release profile to all examples.
This makes rtt output work right when using `cargo run` in release mode. Debug was already enabled for release builds in some of the examples but not all.
Diffstat (limited to 'examples/stm32f1')
-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 8450c541f..5d32992cd 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -26,3 +26,6 @@ nb = "1.0.0"
26 26
27[profile.dev] 27[profile.dev]
28opt-level = "s" 28opt-level = "s"
29
30[profile.release]
31debug = 2