board.h File Reference

Board specific definitions for Espressif ESP-WROVER-KIT V3. More...

Detailed Description

Board specific definitions for Espressif ESP-WROVER-KIT V3.

The Espressif ESP-WROVER-KIT is a development board that uses the ESP32-WROVER module which includes a built-in 4 MByte SPI RAM. Most important features of the board are

  • Micro-SD card interface
  • OV7670 camera interface
  • 3.2" SPI LCD panel
  • RGB LED

Furthermore, many GPIOs are broken out for extension. The USB bridge based on FDI FT2232HL provides a JTAG interface for debugging through the USB interface.

When the camera module is connected, add

USEMODULE += esp32_wrover_kit_camera

to the makefile of the application to use the according default board configuration.

For detailed information about the configuration of ESP32 boards, see section Common Peripherals.

Note
Most definitions can be overridden by an application-specific board configuration.
Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file board.h.

#include <stdint.h>
#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

LED (on-board) configuration

#define LED0_PIN   GPIO0
 LED0 is available when the camera is not plugged in.
 
#define LED0_ACTIVE   (1)
 LED0 is high active.
 
#define LED1_PIN   GPIO2
 LED1 is available when the SD-Card is not used.
 
#define LED1_ACTIVE   (1)
 LED1 is high active.
 
#define LED2_PIN   GPIO4
 LED2 is available when the camera is not plugged in.
 
#define LED2_ACTIVE   (1)
 LED2 is high active.
 
#define LED_RED_PIN   LED0_PIN
 LED0 is a red LED.
 
#define LED_GREEN_PIN   LED1_PIN
 LED1 is a green LED.
 
#define LED_BLUE_PIN   LED2_PIN
 LED2 is a blue LED.
 

SD-Card interface configuration

The SD-Card interface is connected to the HSPI interface.

Since HSPI becomes SPI_DEV(0) when the camera is connected, the SD card interface uses SPI_DEV(0) in this case. Otherwise, SPI_DEV(1) is used.

This configuration cannot be changed.

#define SDCARD_SPI_PARAM_SPI   SPI_DEV(0)
 SPI_DEV(0) is used when camera is connected.
 
#define SDCARD_SPI_PARAM_CLK   SPI0_SCK
 HSPI SCK is used (fixed)
 
#define SDCARD_SPI_PARAM_MOSI   SPI0_MOSI
 HSPI MOSI is used (fixed)
 
#define SDCARD_SPI_PARAM_MISO   SPI0_MISO
 HSPI MISO is used (fixed)
 
#define SDCARD_SPI_PARAM_CS   SPI0_CS0
 HSPI CS1 is used (fixed)
 
#define SDCARD_SPI_PARAM_POWER   GPIO_UNDEF
 power control is not used (fixed)