WT9932C5-TINY Beginner's Guide

  • WT9932C5-TINY
  • esp32c5
Update history
Date Version Author Update content
2025-12-05 1.0.0 Kirto Initial document release

1. Building the ESP32-C5 Development Environment

This tutorial mainly introduces how to compile the IDF environment on Windows using WSL2. Its main advantages are as follows:

  • Compiling in the Ubuntu environment is more efficient than in Windows
  • WSL2 uses Windows resources more efficiently than a virtual machine
  • The environment is interoperable with Windows, making file transfer easier than in a VM

1.1 Preparation

  • One WT9932C5-TINY development board
  • USB data cable (A to Type-C)
  • A computer (Windows, Linux, or macOS)

1.2 Install WSL2

  1. Open Command Prompt or PowerShell as Administrator.

  2. Enter the following command:

wsl --install

⚠ Note: You need to restart your computer for the installation to take effect.

  1. The system will automatically download and install the required components and install Ubuntu by default.

  2. Install the usbipd tool to mount Windows USB devices into WSL:
    Download from WSL-USB-GUI
    Download WSL-USB-x.x.x.msi and double-click to install.

1.3 Install IDF

  1. Install the following packages:
sudo apt-get update
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
  1. Get ESP-IDF:
mkdir -p ~/esp
cd ~/esp
git clone -b v5.5.1 --recursive https://github.com/espressif/esp-idf.git
  1. Install the toolchain:
cd ~/esp/esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
./install.sh
  1. Set environment variables:

Add the following to .bashrc and restart the terminal:

alias get_idf='. $HOME/esp/esp-idf/export.sh'
  1. Copy the repository example and enter the blink example:
cp -r ./esp/esp-idf/examples/blink/ ./
cd blink/
  1. Activate the IDF environment:
get_idf
  1. Set IDF target and configure menuconfig:
idf.py set-target esp32c5
idf.py menuconfig

Set Blink type to RGB
Blink_config1

Set Blink IO to GPIO6
Blink_config0

  1. Build blink:
idf.py build
  1. Connect WT9932C5-TINY via USB and attach it to WSL through WSL-USB-GUI.

  2. Flash the blink firmware:

idf.py flash -p /dev/ttyACM0

⚠ Note: If permission is denied, run sudo chmod 666 /dev/ttyACM0 to grant access.

3. Result

You will see the onboard LED flashing white.