From bb620c00b171f6005b7d308f1ab78b15ac20f686 Mon Sep 17 00:00:00 2001 From: Liam Kinne Date: Sat, 27 Jul 2024 21:38:40 +1000 Subject: [PATCH] fix incorrect stm32g4a1 feature flags --- src/can.rs | 2 +- src/dma/stream.rs | 2 +- src/dma/transfer.rs | 2 +- src/pwm.rs | 6 +++--- src/rcc/enable.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/can.rs b/src/can.rs index b70eb04d..697df9c4 100644 --- a/src/can.rs +++ b/src/can.rs @@ -141,7 +141,7 @@ mod fdcan1 { feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g4A1", + feature = "stm32g4a1", ))] mod fdcan2 { use super::sealed; diff --git a/src/dma/stream.rs b/src/dma/stream.rs index d166b48e..18dc4085 100644 --- a/src/dma/stream.rs +++ b/src/dma/stream.rs @@ -523,7 +523,7 @@ macro_rules! dma_stream { feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g49a", + feature = "stm32g4a1", ))] dma_stream!( // Note: the field names start from one, unlike the RM where they start from diff --git a/src/dma/transfer.rs b/src/dma/transfer.rs index bf287076..2c0d2f3d 100644 --- a/src/dma/transfer.rs +++ b/src/dma/transfer.rs @@ -707,7 +707,7 @@ transfer_constructor!( feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g49a", + feature = "stm32g4a1", ))] transfer_constructor!( (DMA1, Stream6), diff --git a/src/pwm.rs b/src/pwm.rs index 192902f7..5f27211d 100644 --- a/src/pwm.rs +++ b/src/pwm.rs @@ -181,7 +181,7 @@ use crate::stm32::RCC; feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g4A1" + feature = "stm32g4a1" ))] use crate::stm32::TIM20; #[cfg(any( @@ -874,7 +874,7 @@ pins! { feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g4A1" + feature = "stm32g4a1" ))] pins! { TIM20: @@ -1753,7 +1753,7 @@ tim_pin_hal! { feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g4A1" + feature = "stm32g4a1" ))] tim_pin_hal! { TIM20: (C1, cc1e, cc1p, ccmr1_output, oc1pe, oc1m, ccr1, u16, cc1ne, cc1np), diff --git a/src/rcc/enable.rs b/src/rcc/enable.rs index 82e61c70..4ab3d330 100644 --- a/src/rcc/enable.rs +++ b/src/rcc/enable.rs @@ -152,7 +152,7 @@ bus! { feature = "stm32g483", feature = "stm32g484", feature = "stm32g491", - feature = "stm32g4A1" + feature = "stm32g4a1" ))] bus! { FDCAN2 => (APB1_1, 25),