The Wemos D1 R32 board is an ESP32 board in the Arduino Uno format that uses the
ESP32-WROOM-32 module. It is exactly the same board that is also known as
ESPDuino-32 on the market. The board is pin compatible with the Arduino Uno
board. The peripheral configuration corresponds to the Arduino Uno pinout and
guaranties the compatibility with Arduino Uno Shields.
The following figure shows the pinout of the Wemos D1 R32 board. It is exactly
the same as for the ESPDuino-32 board. The corresponding board schematics can
be found
here.
Warning: The pinout contains the following errors.
Analog Arduino pin A2 with white label IO36 is actually ADC1 Channel7
that is connected to GPIO35 and analog Arduino pin A4 with white label
IO38 is actually ADC1 Channel0 that is connected to GPIO36. That is
the colored labels are correct in the pinout.
Flashing RIOT is quite easy. The board has a Micro-USB connector with
reset/boot/flash logic. Just connect the board to your host computer
and type using the programming port:
make flash BOARD=esp32-wemos-d1-r32 ...
For detailed information about ESP32 as well as configuring and compiling
RIOT for ESP32 boards, see esp32_riot.