2
Get Started on ESP32-MINI-1
7. After download, remove the jumper on IO0 and GND.
8. Power up the RF testing board again. ESP32-MINI-1 will switch to working mode. The chip will read
programs from flash upon initialization.
Note:
IO0 is internally logic high. If IO0 is set to pull-up, the Boot mode is selected. If this pin is pull-down or left floating, the
Download mode is selected. For more information on ESP32-MINI-1, please refer to ESP32-MINI-1 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 ESP32. Users can develop applications with ESP32 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:
sudo yum install git wget flex bison gperf python cmake ninja−build ccache dfu−util
• Ubuntu and Debian (one command breaks into two lines):
sudo apt−get install git wget flex bison gperf python python−pip python−setuptools cmake
ninja −build ccache libffi −dev libssl −dev dfu−util
• Arch:
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 ESPIDF
To build applications for ESP32-MINI-1 module, you need the software libraries provided by Espressif in
.
To get ESP-IDF, create an installation directory (
~
/esp) to download ESP-IDF to and clone the repository with ‘git
clone’:
mkdir −p ~/esp
cd ~/esp
git clone −−recursive https://github .com/ espressif/esp−idf. git
Espressif Systems
8
ESP32-MINI-1 User Manual (Preliminary v0.1)