WT9932C61-TINY Beginner's Guide

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

1. Setting Up the ESP32-C61 Development Environment

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

  • Compiling in Ubuntu is more efficient than in Windows
  • WSL2 utilizes Windows resources more effectively compared to virtual machines
  • The environment is interoperable with Windows, making file transfer easier than with VMs

1.1 Preparation

  • A WT9932C61-TINY development board
  • USB data cable A to Type-C
  • Computer Windows, Linux, or macOS

1.2 Installing WSL2

  1. Open Command Prompt or PowerShell as Administrator.

  2. Enter the following command:

wsl --install

⚠ Note: A system restart is required after installation for it to take effect.

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

  2. Install the usbipd tool to mount Windows USB devices into WSL

WSL-USB-GUI
Download WSL-USB-x.x.x.msi and double-click to install.

1.3 Installing 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 example from the repository 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 esp32c61
idf.py menuconfig

Set Blink type to RGB
Blink_config1

Set Blink IO to 6
Blink_config0

  1. Build blink:
idf.py build
  1. Connect WT9932C61-TINY to USB and open WSL-USB-GUI to mount the device into WSL.

  2. Flash blink:

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 blinking with white light.