File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ fn main() {
24
24
// - 'dac'
25
25
// - 'gdma'
26
26
// - 'i2c1'
27
+ // - 'i2s'
28
+ // - 'mcpwm'
27
29
// - 'pdma'
28
30
// - 'rmt'
29
31
// - 'spi3'
@@ -39,9 +41,11 @@ fn main() {
39
41
vec ! [
40
42
"esp32" ,
41
43
"xtensa" ,
44
+ "mcpwm" ,
42
45
"multi_core" ,
43
46
"dac" ,
44
47
"i2c1" ,
48
+ "i2s" ,
45
49
"pdma" ,
46
50
"rmt" ,
47
51
"spi3" ,
@@ -56,6 +60,7 @@ fn main() {
56
60
"riscv" ,
57
61
"single_core" ,
58
62
"gdma" ,
63
+ "i2s" ,
59
64
"rmt" ,
60
65
"spi3" ,
61
66
"systimer" ,
@@ -69,6 +74,7 @@ fn main() {
69
74
"single_core" ,
70
75
"dac" ,
71
76
"i2c1" ,
77
+ "i2s" ,
72
78
"pdma" ,
73
79
"rmt" ,
74
80
"spi3" ,
@@ -83,6 +89,8 @@ fn main() {
83
89
"multi_core" ,
84
90
"gdma" ,
85
91
"i2c1" ,
92
+ "i2s" ,
93
+ "mcpwm" ,
86
94
"rmt" ,
87
95
"spi3" ,
88
96
"systimer" ,
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ pub use self::{
48
48
timer:: Timer ,
49
49
} ;
50
50
51
- pub mod sha;
52
51
pub mod analog;
53
52
pub mod clock;
54
53
pub mod delay;
@@ -57,12 +56,10 @@ pub mod dma;
57
56
pub mod embassy;
58
57
pub mod gpio;
59
58
pub mod i2c;
60
-
61
- #[ cfg( any( esp32c3, esp32s3, esp32, esp32s2) ) ]
59
+ #[ cfg( i2s) ]
62
60
pub mod i2s;
63
-
64
61
pub mod ledc;
65
- #[ cfg( any ( esp32 , esp32s3 ) ) ]
62
+ #[ cfg( mcpwm ) ]
66
63
pub mod mcpwm;
67
64
#[ cfg( usb_otg) ]
68
65
pub mod otg_fs;
@@ -73,6 +70,7 @@ pub mod rng;
73
70
pub mod rom;
74
71
pub mod rtc_cntl;
75
72
pub mod serial;
73
+ pub mod sha;
76
74
pub mod spi;
77
75
pub mod system;
78
76
#[ cfg( systimer) ]
You can’t perform that action at this time.
0 commit comments