diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-11-29 02:28:57 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-12-06 21:58:57 +0100 |
| commit | 00a87b9a41f55efdf831a2579de5f271222e6577 (patch) | |
| tree | 705185f63de2d29028406049c73d39b9c508e4cd | |
| parent | 8b4a247af2b54bd4deb8416b6181791e381c5aa3 (diff) | |
Fix build examples with defmt.
| -rw-r--r-- | examples/stm32f7/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/stm32h7/Cargo.toml | 6 |
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 } | |||
| 23 | nb = "1.0.0" | 23 | nb = "1.0.0" |
| 24 | rand_core = "0.6.3" | 24 | rand_core = "0.6.3" |
| 25 | critical-section = "0.2.3" | 25 | critical-section = "0.2.3" |
| 26 | |||
| 27 | [dependencies.smoltcp] | ||
| 28 | git = "https://github.com/smoltcp-rs/smoltcp" | ||
| 29 | rev = "f5bc05cda8d83595c98688991f4b69fc963a88f6" | ||
| 30 | default-features = false | ||
| 31 | features = ["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 } | |||
| 25 | rand_core = "0.6.3" | 25 | rand_core = "0.6.3" |
| 26 | critical-section = "0.2.5" | 26 | critical-section = "0.2.5" |
| 27 | micromath = "2.0.0" | 27 | micromath = "2.0.0" |
| 28 | |||
| 29 | [dependencies.smoltcp] | ||
| 30 | git = "https://github.com/smoltcp-rs/smoltcp" | ||
| 31 | rev = "f5bc05cda8d83595c98688991f4b69fc963a88f6" | ||
| 32 | default-features = false | ||
| 33 | features = ["defmt"] \ No newline at end of file | ||
