User's Manual

2 Get Started on ESP32-C3-WROOM-02
7. After download, remove the jumper on IO0 and GND, and the jumper wire to pull up IO8.
8. Power up the RF testing board again. ESP32-C3-WROOM-02 will switch to working mode. The chip will
read programs from flash upon initialization.
Note:
IO0 is internally logic high. If IO0 is pulled low, and IO8 is pulled high, the Boot mode is selected. In other cases, the
Download mode is selected. For more information on ESP32-C3-WROOM-02, please refer to
ESP32-C3-WROOM-02 & ESP32-C3-WROOM-02U Datasheet .
2.3 Set up Development Environment
The Espressif IoT Development Framework (ESP-IDF for short) is a framework for developing applications based on
the Espressif chips. Users can develop applications with ESP chips in Windows/Linux/macOS based on ESP-IDF.
Here we take Linux operating system as an example.
2.3.1 Install Prerequisites
To compile with ESP-IDF you need to get the following packages:
CentOS 7:
1 sudo yum install git wget flex bison gperf python cmake ninja-build ccache dfu-
util
Ubuntu and Debian (one command breaks into two lines):
1 sudo apt-get install git wget flex bison gperf python python-pip python-
setuptools cmake
2 ninja-build ccache libffi-dev libssl-dev dfu-util
Arch:
1 sudo pacman -S --needed gcc git make flex bison gperf python-pip cmake ninja
ccache dfu-util
Note:
This guide uses the directory ~/esp on Linux as an installation folder for ESP-IDF.
Keep in mind that ESP-IDF does not support spaces in paths.
2.3.2 Get ESPIDF
To build applications for ESP32-C3-WROOM-02 module, you need the software libraries provided by Espressif in
ESP-IDF repository.
To get ESP-IDF, create an installation directory (~/esp) to download ESP-IDF to and clone the repository with ‘git
clone’:
1 mkdir -p ~/esp
2 cd ~/esp
3 git clone --recursive https://github.com/espressif/esp-idf.git
Espressif Systems 8 ESP32-C3-WROOM-02 User Manual v0.1