diff options
| author | Piotr Esden-Tempski <[email protected]> | 2023-07-26 18:32:40 -0700 |
|---|---|---|
| committer | Piotr Esden-Tempski <[email protected]> | 2023-07-26 18:32:40 -0700 |
| commit | 858ddf6777d6df0e8c02921d29cd6a8095a7cdad (patch) | |
| tree | 9cb7352469aea66ff666c403f25ffde9b174e2a1 /examples/stm32f2 | |
| parent | 77e34c5e8a7d31eac6fdc144a329027a0ce731a5 (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/stm32f2')
| -rw-r--r-- | examples/stm32f2/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml index 147e2ecbf..9857fb631 100644 --- a/examples/stm32f2/Cargo.toml +++ b/examples/stm32f2/Cargo.toml | |||
| @@ -21,3 +21,6 @@ panic-probe = { version = "0.3", features = ["print-defmt"] } | |||
| 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 21 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 22 | heapless = { version = "0.7.5", default-features = false } | 22 | heapless = { version = "0.7.5", default-features = false } |
| 23 | nb = "1.0.0" | 23 | nb = "1.0.0" |
| 24 | |||
| 25 | [profile.release] | ||
| 26 | debug = 2 | ||
