File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,18 @@ pub mod i2c;
100
100
feature = "stm32f405" ,
101
101
feature = "stm32f407" ,
102
102
feature = "stm32f411" ,
103
+ feature = "stm32f412" ,
104
+ feature = "stm32f413" ,
103
105
feature = "stm32f415" ,
104
106
feature = "stm32f417" ,
107
+ feature = "stm32f423" ,
105
108
feature = "stm32f427" ,
106
109
feature = "stm32f429" ,
107
110
feature = "stm32f437" ,
108
111
feature = "stm32f439" ,
109
112
feature = "stm32f446" ,
113
+ feature = "stm32f469" ,
114
+ feature = "stm32f479" ,
110
115
)
111
116
) ) ]
112
117
pub mod otg_fs;
@@ -122,6 +127,8 @@ pub mod otg_fs;
122
127
feature = "stm32f437" ,
123
128
feature = "stm32f439" ,
124
129
feature = "stm32f446" ,
130
+ feature = "stm32f469" ,
131
+ feature = "stm32f479" ,
125
132
)
126
133
) ) ]
127
134
pub mod otg_hs;
Original file line number Diff line number Diff line change @@ -44,7 +44,14 @@ unsafe impl UsbPeripheral for USB {
44
44
feature = "stm32f439" ,
45
45
) ) ]
46
46
const ENDPOINT_COUNT : usize = 4 ;
47
- #[ cfg( feature = "stm32f446" ) ]
47
+ #[ cfg( any(
48
+ feature = "stm32f412" ,
49
+ feature = "stm32f413" ,
50
+ feature = "stm32f423" ,
51
+ feature = "stm32f446" ,
52
+ feature = "stm32f469" ,
53
+ feature = "stm32f479" ,
54
+ ) ) ]
48
55
const ENDPOINT_COUNT : usize = 6 ;
49
56
50
57
fn enable ( ) {
Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ unsafe impl UsbPeripheral for USB {
45
45
feature = "stm32f439" ,
46
46
) ) ]
47
47
const ENDPOINT_COUNT : usize = 6 ;
48
- #[ cfg( feature = "stm32f446" ) ]
48
+ #[ cfg( any(
49
+ feature = "stm32f446" ,
50
+ feature = "stm32f469" ,
51
+ feature = "stm32f479" ,
52
+ ) ) ]
49
53
const ENDPOINT_COUNT : usize = 9 ;
50
54
51
55
fn enable ( ) {
You can’t perform that action at this time.
0 commit comments