diff --git a/Cargo.toml b/Cargo.toml index 05da015b..b5167eae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ version = "0.0.2" [dependencies] nb = "1" -stm32g4 = { version = "0.22.0", package = "stm32g4-staging", features = ["defmt"] } +stm32g4 = { version = "0.16.0", features = ["atomics"] } paste = "1.0" fugit = "0.3.7" stm32-usbd = { version = "0.7.0", optional = true } @@ -91,6 +91,7 @@ log-rtt = [] log-semihost = ["cortex-m-log/semihosting"] defmt = [ "dep:defmt", + "stm32g4/defmt", "fugit/defmt", "nb/defmt-0-3", "embedded-hal/defmt-03",