From d53347e44246da9d9119b820aa767812bd97ff3f Mon Sep 17 00:00:00 2001 From: Andrey Zgarbul Date: Sat, 5 Oct 2024 12:14:17 +0300 Subject: [PATCH] fix defmt dependency enabling --- CHANGELOG.md | 2 ++ Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89efb471..a0fd37b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 16a48ee2..f9b8297b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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"]