boards/esp32-wemos-lolin-d32-pro/include/periph_conf.h¶
Peripheral MCU configuration for Wemos LOLIN D32 Pro.
Wemos LOLIN D32 Pro is a development board that uses the ESP32-WROVER module which has a built-in 4 MByte SPI RAM. Most important features of the board are
- Micro-SD card interface
- LCD interface
- SPI RAM 4 MByte
Furthermore, most GPIOs are broken out for extension.
When the TFT display is connected, add
1 | USEMODULE += esp_lolin_tft
|
For detailed information about the configuration of ESP32 boards, see section .
-
ADC_GPIOS
¶ Declaration of GPIOs that can be used as ADC channels.
1
{ GPIO36, GPIO39, GPIO34, GPIO35, GPIO32, GPIO33 }
GPIO35 is used to measure V_BAT and is therefore not broken out.
Note
As long as the GPIOs listed in ADC_GPIOS are not initialized as ADC channels with the
adc_init
function, they can be used for other purposes.
-
DAC_GPIOS
¶ Declaration of GPIOs that can be used as DAC channels.
1
{ GPIO25, GPIO26 }
Note
As long as the GPIOs listed in DAC_GPIOS are not initialized as DAC channels with the
dac_init
function, they can be used for other purposes.
-
I2C0_SPEED
¶ I2C bus speed of
i2c.h::I2C_DEV
1
I2C_SPEED_FAST
-
I2C0_SCL
¶ SCL signal of
i2c.h::I2C_DEV
[UEXT1].1
GPIO22
-
I2C0_SDA
¶ SDA signal of
i2c.h::I2C_DEV
[UEXT1].1
GPIO21
-
PWM0_GPIOS
¶ PWM channels for device
pwm.h::PWM_DEV
1
{ GPIO0, GPIO2 }
-
PWM1_GPIOS
¶ pwm.h::PWM_DEV
is not used.1
{ }
-
SPI0_DEV
¶ VSPI is used as
spi.h::SPI_DEV
1
VSPI
-
SPI0_SCK
¶ VSPI SCK.
1
GPIO18
-
SPI0_MISO
¶ VSPI MISO.
1
GPIO19
-
SPI0_MOSI
¶ VSPI MOSI.
1
GPIO23
-
SPI0_CS0
¶ VSPI CS0.
1
GPIO5
-
UART0_TXD
¶ direct I/O pin for
uart.h::UART_DEV
TxD, can’t be changed1
GPIO1
-
UART0_RXD
¶ direct I/O pin for
uart.h::UART_DEV
RxD, can’t be changed1
GPIO3