Skip to content

Commit d4ba734

Browse files
committed
stm32g471 does not seem to exist
1 parent 79df890 commit d4ba734

File tree

13 files changed

+5
-42
lines changed

13 files changed

+5
-42
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
device:
1818
- stm32g431
1919
- stm32g441
20-
- stm32g471
2120
- stm32g473
2221
- stm32g474
2322
- stm32g483

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ rt = ["stm32g4/rt"]
7979
usb = ["dep:stm32-usbd"]
8080
stm32g431 = ["stm32g4/stm32g431"]
8181
stm32g441 = ["stm32g4/stm32g441"]
82-
stm32g471 = ["stm32g4/stm32g471", "adc3"]
8382
stm32g473 = ["stm32g4/stm32g473", "adc3", "adc4", "adc5"]
8483
stm32g474 = ["stm32g4/stm32g474", "adc3", "adc4", "adc5"]
8584
stm32g483 = ["stm32g4/stm32g483", "adc3", "adc4", "adc5"]

src/adc/g4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::gpio::{gpiod, gpioe};
88

99
use super::{adc_channel_helper, adc_opamp, adc_pins, temperature::Temperature, Vbat, Vref};
1010

11-
#[cfg(any(feature = "stm32g431", feature = "stm32g441", feature = "stm32g471",))]
11+
#[cfg(any(feature = "stm32g431", feature = "stm32g441"))]
1212
adc_pins!(
1313
gpioa::PA0<Analog> => (ADC1, 1),
1414
gpioa::PA0<Analog> => (ADC2, 1),

src/can.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ mod fdcan1 {
109109
}
110110

111111
#[cfg(any(
112-
feature = "stm32g471",
113112
feature = "stm32g473",
114113
feature = "stm32g474",
115114
feature = "stm32g483",

src/flash.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ impl Parts {
436436
}
437437
}
438438
#[cfg(any(
439-
feature = "stm32g471",
440439
feature = "stm32g473",
441440
feature = "stm32g474",
442441
feature = "stm32g483",

src/i2c.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use embedded_hal_old::blocking::i2c::{Read, Write, WriteRead};
55

66
use crate::gpio::{gpioa::*, gpiob::*, gpioc::*, gpiof::*};
77
#[cfg(any(
8-
feature = "stm32g471",
98
feature = "stm32g473",
109
feature = "stm32g474",
1110
feature = "stm32g483",
@@ -15,7 +14,6 @@ use crate::gpio::{gpiog::*, AF3};
1514
use crate::gpio::{AlternateOD, AF2, AF4, AF8};
1615
use crate::rcc::{Enable, GetBusFreq, Rcc, RccBus, Reset};
1716
#[cfg(any(
18-
feature = "stm32g471",
1917
feature = "stm32g473",
2018
feature = "stm32g474",
2119
feature = "stm32g483",
@@ -487,7 +485,6 @@ i2c!(
487485
PA9<AlternateOD<AF4>>,
488486
PC4<AlternateOD<AF4>>,
489487
#[cfg(any(
490-
feature = "stm32g471",
491488
feature = "stm32g473",
492489
feature = "stm32g474",
493490
feature = "stm32g483",
@@ -505,15 +502,13 @@ i2c!(
505502
PC11<AlternateOD<AF8>>,
506503
PC9<AlternateOD<AF8>>,
507504
#[cfg(any(
508-
feature = "stm32g471",
509505
feature = "stm32g473",
510506
feature = "stm32g474",
511507
feature = "stm32g483",
512508
feature = "stm32g484"
513509
))]
514510
PF4<AlternateOD<AF4>>,
515511
#[cfg(any(
516-
feature = "stm32g471",
517512
feature = "stm32g473",
518513
feature = "stm32g474",
519514
feature = "stm32g483",
@@ -525,15 +520,13 @@ i2c!(
525520
PA8<AlternateOD<AF2>>,
526521
PC8<AlternateOD<AF8>>,
527522
#[cfg(any(
528-
feature = "stm32g471",
529523
feature = "stm32g473",
530524
feature = "stm32g474",
531525
feature = "stm32g483",
532526
feature = "stm32g484"
533527
))]
534528
PF3<AlternateOD<AF4>>,
535529
#[cfg(any(
536-
feature = "stm32g471",
537530
feature = "stm32g473",
538531
feature = "stm32g474",
539532
feature = "stm32g483",
@@ -544,7 +537,6 @@ i2c!(
544537
);
545538

546539
#[cfg(any(
547-
feature = "stm32g471",
548540
feature = "stm32g473",
549541
feature = "stm32g474",
550542
feature = "stm32g483",

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#[cfg(not(any(
55
feature = "stm32g431",
66
feature = "stm32g441",
7-
feature = "stm32g471",
87
feature = "stm32g473",
98
feature = "stm32g474",
109
feature = "stm32g483",
@@ -39,9 +38,6 @@ pub use stm32g4::stm32g431 as stm32;
3938
#[cfg(feature = "stm32g441")]
4039
pub use stm32g4::stm32g441 as stm32;
4140

42-
#[cfg(feature = "stm32g471")]
43-
pub use stm32g4::stm32g471 as stm32;
44-
4541
#[cfg(feature = "stm32g473")]
4642
pub use stm32g4::stm32g473 as stm32;
4743

src/opamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ opamps! {
806806
},
807807
}
808808

809-
#[cfg(any(feature = "stm32g471", feature = "stm32g491", feature = "stm32g4a1"))]
809+
#[cfg(any(feature = "stm32g491", feature = "stm32g4a1"))]
810810
opamps! {
811811
Opamp1 => opamp1: {
812812
vinm0: crate::gpio::gpioa::PA3<crate::gpio::Analog>,

src/pwm.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ use crate::stm32::RCC;
184184
))]
185185
use crate::stm32::TIM20;
186186
#[cfg(any(
187-
feature = "stm32g471",
188187
feature = "stm32g473",
189188
feature = "stm32g474",
190189
feature = "stm32g483",
@@ -197,15 +196,13 @@ use crate::rcc::{Enable, GetBusFreq, Rcc, Reset};
197196
use crate::time::{ExtU32, Hertz, NanoSecond, RateExtU32};
198197

199198
#[cfg(any(
200-
feature = "stm32g471",
201199
feature = "stm32g473",
202200
feature = "stm32g474",
203201
feature = "stm32g483",
204202
feature = "stm32g484"
205203
))]
206204
use crate::gpio::gpiog::*;
207205
#[cfg(any(
208-
feature = "stm32g471",
209206
feature = "stm32g473",
210207
feature = "stm32g474",
211208
feature = "stm32g483",
@@ -573,7 +570,6 @@ pins! {
573570
PA1<Alternate<AF9>>,
574571
PB15<Alternate<AF2>>,
575572
#[cfg(any(
576-
feature = "stm32g471",
577573
feature = "stm32g473",
578574
feature = "stm32g474",
579575
feature = "stm32g483",
@@ -766,7 +762,6 @@ pins! {
766762
PB9<Alternate<AF2>>,
767763
PD15<Alternate<AF2>>,
768764
#[cfg(any(
769-
feature = "stm32g471",
770765
feature = "stm32g473",
771766
feature = "stm32g474",
772767
feature = "stm32g483",
@@ -782,7 +777,6 @@ pins! {
782777
BRK2: []
783778
}
784779
#[cfg(any(
785-
feature = "stm32g471",
786780
feature = "stm32g473",
787781
feature = "stm32g474",
788782
feature = "stm32g483",
@@ -1455,7 +1449,6 @@ tim_hal! {
14551449
TIM4: (tim4, u16, 16, DIR: cms),
14561450
}
14571451
#[cfg(any(
1458-
feature = "stm32g471",
14591452
feature = "stm32g473",
14601453
feature = "stm32g474",
14611454
feature = "stm32g483",
@@ -1767,7 +1760,6 @@ tim_pin_hal! {
17671760
TIM4: (C4, cc4e, cc4p, ccmr2_output, oc4pe, oc4m, ccr4, u16),
17681761
}
17691762
#[cfg(any(
1770-
feature = "stm32g471",
17711763
feature = "stm32g473",
17721764
feature = "stm32g474",
17731765
feature = "stm32g483",

src/rcc/enable.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ bus! {
8383
}
8484

8585
#[cfg(any(
86-
feature = "stm32g471",
8786
feature = "stm32g473",
8887
feature = "stm32g474",
8988
feature = "stm32g483",
@@ -135,7 +134,6 @@ bus! {
135134
}
136135

137136
#[cfg(any(
138-
feature = "stm32g471",
139137
feature = "stm32g473",
140138
feature = "stm32g474",
141139
feature = "stm32g483",
@@ -158,7 +156,6 @@ bus! {
158156
}
159157

160158
#[cfg(any(
161-
feature = "stm32g471",
162159
feature = "stm32g473",
163160
feature = "stm32g474",
164161
feature = "stm32g483",
@@ -170,7 +167,6 @@ bus! {
170167
}
171168

172169
#[cfg(any(
173-
feature = "stm32g471",
174170
feature = "stm32g473",
175171
feature = "stm32g474",
176172
feature = "stm32g483",
@@ -195,7 +191,6 @@ bus! {
195191
}
196192

197193
#[cfg(any(
198-
feature = "stm32g471",
199194
feature = "stm32g473",
200195
feature = "stm32g474",
201196
feature = "stm32g483",

0 commit comments

Comments
 (0)