We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbdad26 + bffb300 commit ac3ba98Copy full SHA for ac3ba98
cores/esp32/esp32-hal-spi.c
@@ -112,6 +112,8 @@ static spi_t _spi_bus_array[] = {
112
{(volatile spi_dev_t *)(DR_REG_SPI1_BASE), 0},
113
{(volatile spi_dev_t *)(DR_REG_SPI2_BASE), 1},
114
{(volatile spi_dev_t *)(DR_REG_SPI3_BASE), 2}
115
+#elif CONFIG_IDF_TARGET_ESP32C3
116
+ {(volatile spi_dev_t *)(&GPSPI2), FSPI}
117
#else
118
{(volatile spi_dev_t *)(DR_REG_SPI0_BASE), 0},
119
{(volatile spi_dev_t *)(DR_REG_SPI1_BASE), 1},
0 commit comments