mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
boards/seeedstudio-xiao-esp32c3: fix GPIO5 conflict
Remove GPIO5 from the PWM pin list because it is used by default as SPI chip select pin.
This commit is contained in:
parent
0f171d624f
commit
4d6c9edf9b
@ -74,7 +74,7 @@ GPIO overview:
|
||||
- 1 x SPI
|
||||
- 1 x I2C
|
||||
- 1 x UART
|
||||
- 11 x PWM channels (only 4 defined by default)
|
||||
- 11 x PWM channels (only 3 defined by default)
|
||||
|
||||
The purpose for which a GPIO is used depends on which module
|
||||
or function is used first. For example, if module `periph_spi` is not used,
|
||||
@ -91,7 +91,7 @@ BUTTON0 | GPIO9 | GPIO9 is a [strapping pin](https://doc
|
||||
ADC | GPIO2, GPIO3, GPIO4 | \ref esp32_adc_channels "ADC Channels"
|
||||
I2C_DEV(0):SCL | GPIO7 | \ref esp32_i2c_interfaces "I2C Interfaces"
|
||||
I2C_DEV(0):SDA | GPIO6 | \ref esp32_i2c_interfaces "I2C Interfaces"
|
||||
PWM_DEV(0) | GPIO2, GPIO3, GPIO4, GPIO5 | \ref esp32_pwm_channels "PWM Channels"
|
||||
PWM_DEV(0) | GPIO2, GPIO3, GPIO4 | \ref esp32_pwm_channels "PWM Channels"
|
||||
SPI_DEV(0):SCK | GPIO8 | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(0):MISO | GPIO9 | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(0):MOSI | GPIO10 | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
|
||||
@ -98,7 +98,7 @@ extern "C" {
|
||||
* at maximum PWM_CHANNEL_NUM_DEV_MAX.
|
||||
*/
|
||||
#ifndef PWM0_GPIOS
|
||||
#define PWM0_GPIOS { GPIO2, GPIO3, GPIO4, GPIO5 }
|
||||
#define PWM0_GPIOS { GPIO2, GPIO3, GPIO4 }
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user