EasyManua.ls Logo

Espressif ESP32-­MINI-­1 - Development Environment Setup; Install Development Prerequisites; Download ESP-IDF Framework

Default Icon
17 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 ex bison gperf python cmake ninja−build ccache dfu−util
Ubuntu and Debian (one command breaks into two lines):
sudo apt−get install git wget ex bison gperf python python−pip python−setuptools cmake
ninja−build ccache lib −dev libssl −dev dfu−util
Arch:
sudo pacman −S −−needed gcc git make ex 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-MINI-1 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’:
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)

Related product manuals