Adafruit Feather ESP32

Overview

The Adafruit ESP32 Feather is an ESP32-based development board using the Feather standard layout.

It features the following integrated components:

  • ESP32-PICO-V3-02 chip (240MHz dual core, Wi-Fi + BLE)

  • 520KB SRAM

  • USB-C port connected to USB to Serial converter

  • LiPo battery connector and charger

  • Charging indicator LED and user LED

  • NeoPixel RGB LED

  • Reset and user buttons

  • STEMMA QT I2C connector

Supported Features

The adafruit_feather_esp32 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

adafruit_feather_esp32@2/esp32/appcpu target

Type

Location

Description

Compatible

CPU

on-chip

Espressif Xtensa LX6 CPU2

espressif,xtensa-lx6

ADC

on-chip

ESP32 ADC2

espressif,esp32-adc

Bluetooth

on-chip

Bluetooth HCI for Espressif ESP321

espressif,esp32-bt-hci

CAN

on-chip

ESP32 Two-Wire Automotive Interface (TWAI)1

espressif,esp32-twai

Clock control

on-chip

ESP32 Clock (Power & Clock Controller Module) Module1

espressif,esp32-clock

Counter

on-chip

ESP32 Counter Driver based on RTC Main Timer1

espressif,esp32-rtc-timer

on-chip

ESP32 general-purpose timers4

espressif,esp32-timer

on-chip

ESP32 counters4

espressif,esp32-counter

DAC

on-chip

ESP32 Digital to Analog converter (DAC)1

espressif,esp32-dac

Ethernet

on-chip

ESP32 Ethernet1

espressif,esp32-eth

Flash controller

on-chip

ESP32 flash controller1

espressif,esp32-flash-controller

GPIO & Headers

on-chip

ESP32 GPIO controller2

espressif,esp32-gpio

I2C

on-chip

ESP32 I2C2

espressif,esp32-i2c

I2S

on-chip

ESP32 I2S2

espressif,esp32-i2s

Input

on-chip

ESP32 touch sensor input1

espressif,esp32-touch

Interrupt controller

on-chip

ESP32 Interrupt controller1

espressif,esp32-intc

IPM

on-chip

ESP32 soft inter processor message1

espressif,esp32-ipm

Mailbox

on-chip

ESP32 soft mailbox1

espressif,mbox-esp32

MDIO

on-chip

ESP32 MDIO controller1

espressif,esp32-mdio

Memory controller

on-chip

ESP32 pseudo-static RAM controller1

espressif,esp32-psram

MTD

on-chip

Flash node1

soc-nv-flash

on-chip

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

ESP32 pin controller1

espressif,esp32-pinctrl

PWM

on-chip

ESP32 LED Control (LEDC)1

espressif,esp32-ledc

on-chip

ESP32 Motor Control Pulse Width Modulator (MCPWM)2

espressif,esp32-mcpwm

RNG

on-chip

ESP32 TRNG (True Random Number Generator)1

espressif,esp32-trng

SDHC

on-chip

ESP32 SDHC controller1

espressif,esp32-sdhc

on-chip

ESP32 SDHC controller slot2

espressif,esp32-sdhc-slot

Sensors

on-chip

ESP32 Pulse Counter (PCNT)1

espressif,esp32-pcnt

Serial controller

on-chip

ESP32 UART3

espressif,esp32-uart

SPI

on-chip

ESP32 SPI2

espressif,esp32-spi

SRAM

on-chip

Generic on-chip SRAM2

mmio-sram

Watchdog

on-chip

ESP32 watchdog1 1

espressif,esp32-watchdog

Wi-Fi

on-chip

ESP32 SoC Wi-Fi1

espressif,esp32-wifi

adafruit_feather_esp32@2/esp32/procpu target

Type

Location

Description

Compatible

CPU

on-chip

Espressif Xtensa LX6 CPU2

espressif,xtensa-lx6

ADC

on-chip

ESP32 ADC2

espressif,esp32-adc

Bluetooth

on-chip

Bluetooth HCI for Espressif ESP321

espressif,esp32-bt-hci

CAN

on-chip

ESP32 Two-Wire Automotive Interface (TWAI)1

espressif,esp32-twai

Clock control

on-chip

ESP32 Clock (Power & Clock Controller Module) Module1

espressif,esp32-clock

Counter

on-chip

ESP32 Counter Driver based on RTC Main Timer1

espressif,esp32-rtc-timer

on-chip

ESP32 general-purpose timers4

espressif,esp32-timer

on-chip

ESP32 counters4

espressif,esp32-counter

DAC

on-chip

ESP32 Digital to Analog converter (DAC)1

espressif,esp32-dac

Ethernet

on-chip

ESP32 Ethernet1

espressif,esp32-eth

Flash controller

on-chip

ESP32 flash controller1

espressif,esp32-flash-controller

GPIO & Headers

on-chip

ESP32 GPIO controller2

espressif,esp32-gpio

I2C

on-chip

ESP32 I2C1 1

espressif,esp32-i2c

I2S

on-chip

ESP32 I2S2

espressif,esp32-i2s

Input

on-chip

ESP32 touch sensor input1

espressif,esp32-touch

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ESP32 Interrupt controller1

espressif,esp32-intc

IPM

on-chip

ESP32 soft inter processor message1

espressif,esp32-ipm

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

LED strip

on-board

Worldsemi WS2812 LED strip, SPI binding1

worldsemi,ws2812-spi

Mailbox

on-chip

ESP32 soft mailbox1

espressif,mbox-esp32

MDIO

on-chip

ESP32 MDIO controller1

espressif,esp32-mdio

Memory controller

on-chip

ESP32 pseudo-static RAM controller1

espressif,esp32-psram

MTD

on-chip

Flash node1

soc-nv-flash

on-chip

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

ESP32 pin controller1

espressif,esp32-pinctrl

PWM

on-chip

ESP32 LED Control (LEDC)1

espressif,esp32-ledc

on-chip

ESP32 Motor Control Pulse Width Modulator (MCPWM)2

espressif,esp32-mcpwm

RNG

on-chip

ESP32 TRNG (True Random Number Generator)1

espressif,esp32-trng

SDHC

on-chip

ESP32 SDHC controller1

espressif,esp32-sdhc

on-chip

ESP32 SDHC controller slot2

espressif,esp32-sdhc-slot

Sensors

on-chip

ESP32 Pulse Counter (PCNT)1

espressif,esp32-pcnt

Serial controller

on-chip

ESP32 UART2 1

espressif,esp32-uart

SPI

on-chip

ESP32 SPI1 1

espressif,esp32-spi

SRAM

on-chip

Generic on-chip SRAM2

mmio-sram

Watchdog

on-chip

ESP32 watchdog1 1

espressif,esp32-watchdog

Wi-Fi

on-chip

ESP32 SoC Wi-Fi1

espressif,esp32-wifi

System requirements

Prerequisites

Espressif HAL requires WiFi and Bluetooth binary blobs in order to work. Run the commands below to retrieve the files.

west update
west blobs fetch hal_espressif

Building & flashing

Use the standard build and flash process for this board. See Building an Application and Run an Application for more details.

# From the root of the zephyr repository
west build -b adafruit_feather_esp32/esp32/procpu samples/hello_world
west flash

The baud rate of 921600bps is set by default. If experiencing issues when flashing, try using different values by using --esp-baud-rate <BAUD> option during west flash (e.g. west flash --esp-baud-rate 115200).

After flashing, view the serial monitor with the espressif monitor command.

west espressif monitor

Testing

On-board LED

Test the functionality of the user LED connected to pin 13 with the blinky sample program.

# From the root of the zephyr repository
west build -b adafruit_feather_esp32/esp32/procpu samples/basic/blinky
west flash

NeoPixel

Test the on-board NeoPixel using the led_strip sample program.

# From the root of the zephyr repository
west build -b adafruit_feather_esp32/esp32/procpu samples/drivers/led/led_strip
west flash

User button

Test the button labeled SW38 using the button input sample program.

# From the root of the zephyr repository
west build -b adafruit_feather_esp32/esp32/procpu samples/basic/button
west flash

Wi-Fi

Test ESP32 Wi-Fi functionality using the Wi-Fi shell module.

Note

The hal_espressif blobs must be fetched first.

# From the root of the zephyr repository
west build -b adafruit_feather_esp32/esp32/procpu samples/net/wifi/shell
west flash

References