File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -844,12 +844,7 @@ impl Chip {
844
844
mosi_length_offset : Some ( 0x28 ) ,
845
845
miso_length_offset : Some ( 0x2c ) ,
846
846
} ,
847
- Chip :: Esp32c2
848
- | Chip :: Esp32c3
849
- | Chip :: Esp32c5
850
- | Chip :: Esp32c6
851
- | Chip :: Esp32h2
852
- | Chip :: Esp32s3 => SpiRegisters {
847
+ Chip :: Esp32c5 | Chip :: Esp32c6 | Chip :: Esp32h2 => SpiRegisters {
853
848
base : 0x6000_3000 ,
854
849
usr_offset : 0x18 ,
855
850
usr1_offset : 0x1c ,
@@ -858,6 +853,15 @@ impl Chip {
858
853
mosi_length_offset : Some ( 0x24 ) ,
859
854
miso_length_offset : Some ( 0x28 ) ,
860
855
} ,
856
+ Chip :: Esp32c2 | Chip :: Esp32c3 | Chip :: Esp32s3 => SpiRegisters {
857
+ base : 0x6000_2000 ,
858
+ usr_offset : 0x18 ,
859
+ usr1_offset : 0x1c ,
860
+ usr2_offset : 0x20 ,
861
+ w0_offset : 0x58 ,
862
+ mosi_length_offset : Some ( 0x24 ) ,
863
+ miso_length_offset : Some ( 0x28 ) ,
864
+ } ,
861
865
Chip :: Esp32p4 => SpiRegisters {
862
866
base : 0x5008_D000 ,
863
867
usr_offset : 0x18 ,
You can’t perform that action at this time.
0 commit comments