boards/esp32-olimex-evb/include/periph_conf.h¶
Peripheral MCU configuration for Olimex ESP32-EVB (ESP32-GATEWAY)
This configuration is for the Olimex ESP32-EVB, but can also be used for the Olimex ESP32-GATEWAY. To use this board definition with Olimex ESP32-GATEWAY, add
1 | USEMODULE += olimex_esp32_gateway
|
For detailed information about the configuration of ESP32 boards, see section .
-
ADC_GPIOS¶ Declaration of GPIOs that can be used as ADC channels.
1
{ }
Note
As long as the GPIOs listed in ADC_GPIOS are not initialized as ADC channels with the
adc_initfunction, they can be used for other purposes.
-
DAC_GPIOS¶ Olimex ESP32-EVB has no GPIOs left that might be used as DAC channels.
1
{ }
-
CAN_TX¶ CAN TX tranceiver signal.
1
GPIO5
-
CAN_RX¶ CAN RX tranceiver signal.
1
GPIO35
-
I2C0_SPEED¶ I2C bus speed of
i2c.h::I2C_DEV1
I2C_SPEED_FAST
-
I2C0_SCL¶ SCL signal of
i2c.h::I2C_DEV1
GPIO16
-
I2C0_SDA¶ SDA signal of
i2c.h::I2C_DEV1
GPIO13
-
PWM0_GPIOS¶ In DOUT and DIO flash mode, GPIO9 and GIO10 are available and can be used as PWM channels with
PWM_DEV(0).1
{ GPIO9, GPIO10 }
-
PWM1_GPIOS¶ pwm.h::PWM_DEVis not used.1
{ }
-
SPI0_DEV¶ HSPI is used as
spi.h::SPI_DEV1
HSPIIt is available at the [UEXT] connector on Olimex ESP32-EVB.
Although the SD card interface of the Olimex ESP32-EVB is also available at the
SPI_DEV(0)interface, it does not have a CS signal. Therefore, it cannot be used in SPI mode with thesdcard_spimodule. Olimex ESP32-GATEWAY uses the integrated SD card interface with another GPIO for the CS signal.Note
The GPIOs listed in the configuration are first initialized as SPI signals when the corresponding SPI interface is used for the first time by either calling the
spi_init_csfunction or thespi_acquirefunction. That is, they are not allocated as SPI signals before and can be used for other purposes as long as the SPI interface is not used.
-
SPI0_SCK¶ SCK [UEXT] / SD card interface].
1
GPIO14
-
SPI0_MISO¶ MISO [UEXT] / SD card interface].
1
GPIO2
-
SPI0_MOSI¶ MOSI [UEXT] / SD Card interface].
1
GPIO15
-
SPI0_CS0¶ CS0 [UEXT].
1
GPIO17
-
UART0_TXD¶ direct I/O pin for
uart.h::UART_DEV, can’t be changed1
GPIO1
-
UART0_RXD¶ direct I/O pin for
uart.h::UART_DEV, can’t be changed1
GPIO3
-
UART1_TXD¶ uart.h::UART_DEVTxD.1
GPIO4
-
UART1_RXD¶ uart.h::UART_DEVRxD.1
GPIO36