aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-11-29 02:28:57 +0100
committerDario Nieuwenhuis <[email protected]>2021-12-06 21:58:57 +0100
commit00a87b9a41f55efdf831a2579de5f271222e6577 (patch)
tree705185f63de2d29028406049c73d39b9c508e4cd
parent8b4a247af2b54bd4deb8416b6181791e381c5aa3 (diff)
Fix build examples with defmt.
-rw-r--r--examples/stm32f7/Cargo.toml6
-rw-r--r--examples/stm32h7/Cargo.toml6
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index 68c73f093..1f0646675 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -23,3 +23,9 @@ heapless = { version = "0.7.5", default-features = false }
23nb = "1.0.0" 23nb = "1.0.0"
24rand_core = "0.6.3" 24rand_core = "0.6.3"
25critical-section = "0.2.3" 25critical-section = "0.2.3"
26
27[dependencies.smoltcp]
28git = "https://github.com/smoltcp-rs/smoltcp"
29rev = "f5bc05cda8d83595c98688991f4b69fc963a88f6"
30default-features = false
31features = ["defmt"] \ No newline at end of file
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index 89e5c4ead..860cc68ee 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -25,3 +25,9 @@ heapless = { version = "0.7.5", default-features = false }
25rand_core = "0.6.3" 25rand_core = "0.6.3"
26critical-section = "0.2.5" 26critical-section = "0.2.5"
27micromath = "2.0.0" 27micromath = "2.0.0"
28
29[dependencies.smoltcp]
30git = "https://github.com/smoltcp-rs/smoltcp"
31rev = "f5bc05cda8d83595c98688991f4b69fc963a88f6"
32default-features = false
33features = ["defmt"] \ No newline at end of file