@@ -45,6 +45,7 @@ use crate::gpio::gpiob::{PB14, PB15, PB5};
45
45
feature = "stm32f303" ,
46
46
feature = "stm32f318" ,
47
47
feature = "stm32f328" ,
48
+ feature = "stm32f358" ,
48
49
) ) ]
49
50
use crate :: gpio:: gpiob:: { PB3 , PB4 } ;
50
51
use crate :: gpio:: gpioc:: { PC10 , PC11 , PC12 } ;
@@ -73,7 +74,8 @@ use crate::gpio::gpiof::PF1;
73
74
feature = "stm32f303xb" ,
74
75
feature = "stm32f303xc" ,
75
76
feature = "stm32f303xd" ,
76
- feature = "stm32f303xe"
77
+ feature = "stm32f303xe" ,
78
+ feature = "stm32f358" ,
77
79
) ) ]
78
80
use crate :: gpio:: gpiof:: { PF10 , PF9 } ;
79
81
use crate :: gpio:: { AF5 , AF6 } ;
@@ -139,6 +141,7 @@ unsafe impl SckPin<SPI1> for PA5<AF5> {}
139
141
feature = "stm32f302xe" ,
140
142
feature = "stm32f303" ,
141
143
feature = "stm32f328" ,
144
+ feature = "stm32f358" ,
142
145
) ) ]
143
146
unsafe impl SckPin < SPI1 > for PB3 < AF5 > { }
144
147
@@ -170,7 +173,8 @@ unsafe impl SckPin<SPI2> for PF1<AF5> {}
170
173
feature = "stm32f303xb" ,
171
174
feature = "stm32f303xc" ,
172
175
feature = "stm32f303xd" ,
173
- feature = "stm32f303xe"
176
+ feature = "stm32f303xe" ,
177
+ feature = "stm32f358" ,
174
178
) ) ]
175
179
unsafe impl SckPin < SPI2 > for PF9 < AF5 > { }
176
180
#[ cfg( any(
@@ -181,7 +185,8 @@ unsafe impl SckPin<SPI2> for PF9<AF5> {}
181
185
feature = "stm32f303xb" ,
182
186
feature = "stm32f303xc" ,
183
187
feature = "stm32f303xd" ,
184
- feature = "stm32f303xe"
188
+ feature = "stm32f303xe" ,
189
+ feature = "stm32f358" ,
185
190
) ) ]
186
191
unsafe impl SckPin < SPI2 > for PF10 < AF5 > { }
187
192
@@ -217,6 +222,7 @@ unsafe impl MisoPin<SPI1> for PA6<AF5> {}
217
222
feature = "stm32f302xe" ,
218
223
feature = "stm32f303" ,
219
224
feature = "stm32f328" ,
225
+ feature = "stm32f358" ,
220
226
) ) ]
221
227
unsafe impl MisoPin < SPI1 > for PB4 < AF5 > { }
222
228
0 commit comments