# Espressif ESP32 Dev Module

Contents

- Espressif ESP32 Dev Module

  - Hardware

  - Configuration

  - Uploading

  - Debugging

  - Frameworks

## Hardware

Platform Espressif 32: Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.

Microcontroller | ESP32
Frequency | 240MHz
Flash | 4MB
RAM | 320KB
Vendor | Espressif

## Configuration

Please use `esp32dev` ID for board option in “platformio.ini” (Project Configuration File):

    [env:esp32dev]
    platform = espressif32
    board = esp32dev

You can override default Espressif ESP32 Dev Module settings per build environment using `board_***` option, where `***` is a JSON object path from board manifest esp32dev.json. For example, `board_build.mcu`, `board_build.f_cpu`, etc.

    [env:esp32dev]
    platform = espressif32
    board = esp32dev

    ; change microcontroller
    board_build.mcu = esp32

    ; change MCU frequency
    board_build.f_cpu = 240000000L

## Uploading

Espressif ESP32 Dev Module supports the next uploading protocols:

- `esp-prog`

- `espota`

- `esptool`

- `iot-bus-jtag`

- `jlink`

- `minimodule`

- `olimex-arm-usb-ocd`

- `olimex-arm-usb-ocd-h`

- `olimex-arm-usb-tiny-h`

- `olimex-jtag-tiny`

- `tumpa`

Default protocol is `esptool`

You can change upload protocol using upload_protocol option:

    [env:esp32dev]
    platform = espressif32
    board = esp32dev

    upload_protocol = esptool

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Espressif ESP32 Dev Module does not have on-board debug probe and IS NOT READY for debugging. You will need to use/buy one of external probe listed below.

Compatible Tools | On-board | Default
--- | --- | ---
ESP-Prog |  | Yes
oddWires IOT-Bus JTAG |  |
J-LINK |  |
Mini-Module FT2232H |  |
Olimex ARM-USB-OCD |  |
Olimex ARM-USB-OCD-H |  |
Olimex ARM-USB-TINY-H |  |
Olimex ARM-USB-TINY |  |
TIAO USB Multi-Protocol Adapter (TUMPA) |  |

## Frameworks

Name | Description
--- | ---
Arduino | Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.
ESP-IDF | Espressif IoT Development Framework. Official development framework for ESP32.