Skip to content

Commit

Permalink
Merge pull request #807 from stm32-rs/defmt-fix
Browse files Browse the repository at this point in the history
fix defmt dependency enabling
  • Loading branch information
burrbull authored Oct 5, 2024
2 parents f42568d + d53347e commit 704aa09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- Fix pac `defmt` feature

## [v0.22.0] - 2024-10-04

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ micromath = { version = "2.1.0", optional = true }
[dependencies.stm32f4]
package = "stm32f4-staging"
version = "0.16.1"
features = ["defmt", "atomics"]
features = ["atomics"]

[dependencies.time]
version = "0.3.14"
Expand Down Expand Up @@ -478,7 +478,7 @@ rtic-tim4 = []
rtic-tim5 = []

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

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

0 comments on commit 704aa09

Please sign in to comment.