This repository contains the board support files for the ESP32-Dev, a custom ESP32-based development board designed to work with the Zephyr RTOS. It includes a Device Tree source file that defines peripheral mappings, memory regions, and GPIO configurations specific to this board.
Feature | Description |
---|---|
SoC | ESP32-D0WD-V3 (Xtensa dual-core) |
UART0 | Console output (115200 baud) |
UART1 | Available (115200 baud) |
UART2 | Used for Modbus with DE pin on GPIO5 |
I²C0 | SDA: GPIO21, SCL: GPIO22 (Open-drain) |
Buttons | Button 0: GPIO1_1, Button 1: GPIO0_25 |
Wi-Fi | Enabled |
Bluetooth | HCI interface enabled |
Flash | 4MB external SPI flash |
SRAM | Configured and mapped |
If you haven't already set up your Zephyr workspace:
west init zephyr-workspace
cd zephyr-workspace
west update
west zephyr-export
Place all files from this repository inside the following directory:
zephyr-workspace/boards/espressif/esp32_dev/
Your folder structure should look like:
zephyr-workspace/
└── boards/
└── espressif/
└── esp32_dev/
├── board.cmake
├── board.yml
├── esp32_dev-pinctrl.dtsi
├── esp32_dev_appcpu.dts
├── esp32_dev_appcpu.yaml
├── esp32_dev_appcpu_defconfig
├── esp32_dev_procpu.dts
├── esp32_dev_procpu.yaml
├── esp32_dev_procpu_defconfig
├── Kconfig
├── Kconfig.esp32_dev
└── Kconfig.sysbuild
west build -b esp32_dev/esp32/procpu samples/hello_world
west flash
west espressif monitor