Skip to content

Commit 704aa09

Browse files
authored
Merge pull request #807 from stm32-rs/defmt-fix
fix defmt dependency enabling
2 parents f42568d + d53347e commit 704aa09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- Fix pac `defmt` feature
11+
1012
## [v0.22.0] - 2024-10-04
1113

1214
### Added

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ micromath = { version = "2.1.0", optional = true }
6868
[dependencies.stm32f4]
6969
package = "stm32f4-staging"
7070
version = "0.16.1"
71-
features = ["defmt", "atomics"]
71+
features = ["atomics"]
7272

7373
[dependencies.time]
7474
version = "0.3.14"
@@ -478,7 +478,7 @@ rtic-tim4 = []
478478
rtic-tim5 = []
479479

480480
## Implementation of `defmt::Format` for public enums and structures. See [defmt](https://crates.io/crates/defmt)
481-
defmt = ["dep:defmt", "fugit/defmt", "nb/defmt-0-3"]
481+
defmt = ["dep:defmt", "stm32f4/defmt", "fugit/defmt", "nb/defmt-0-3"]
482482

483483
## bxCAN peripheral support. See [bxcan](https://crates.io/crates/bxcan)
484484
can = ["dep:bxcan"]

0 commit comments

Comments
 (0)