diff --git a/esp-hal-common/src/dma/gdma.rs b/esp-hal-common/src/dma/gdma.rs index 43d20dcf81c..6806cae3472 100644 --- a/esp-hal-common/src/dma/gdma.rs +++ b/esp-hal-common/src/dma/gdma.rs @@ -382,6 +382,10 @@ pub struct Gdma { pub channel1: ChannelCreator1, #[cfg(not(esp32c2))] pub channel2: ChannelCreator2, + #[cfg(esp32s3)] + pub channel3: ChannelCreator3, + #[cfg(esp32s3)] + pub channel4: ChannelCreator4, } impl Gdma { @@ -402,6 +406,10 @@ impl Gdma { channel1: ChannelCreator1 {}, #[cfg(not(esp32c2))] channel2: ChannelCreator2 {}, + #[cfg(esp32s3)] + channel3: ChannelCreator3 {}, + #[cfg(esp32s3)] + channel4: ChannelCreator4 {}, } } }