Standard Setup Of Toolchain For Linux - Espressif Systems ESP32-S2-MINI-1 User Manual

Table of Contents

Advertisement

3.2.2. Standard Setup of Toolchain for Linux

Install Prerequisites
CentOS 7:
sudo yum install gcc git wget make ncurses-devel flex bison gperf python pyserial python-
pyelftools
Ubuntu 和 Debian:
sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip
python-setuptools python-serial python-cryptography python-future python-pyparsing python-
pyelftools
Arch:
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial python2-
cryptography python2-future python2-pyparsing python2-pyelftools
Set up The Toolchain
64-bit Linux:
https://dl.espressif.com/dl/toolchains/preview/xtensa-esp32s2-elf-gcc8_2_0-esp32s2-
dev-4-g3a626e-linux-amd64.tar.gz
32-bit Linux:
https://dl.espressif.com/dl/toolchains/preview/xtensa-esp32s2-elf-gcc8_2_0-esp32s2-
dev-4-g3a626e-linux-i686.tar.gz
1. Unzip the file to ~/esp directory:
64-bit Linux:
mkdir -p ~/esp
cd ~/esp
tar -xzf ~/Downloads/xtensa-esp32s2-elf-gcc8_2_0-esp32s2-dev-4-g3a626e-linux-amd64.tar.gz
32-bit Linux:
mkdir -p ~/esp
cd ~/esp
tar -xzf ~/Downloads/xtensa-esp32s2-elf-gcc8_2_0-esp32s2-dev-4-g3a626e-linux-i686.tar.gz
2. The toolchain will be unzipped to ~/esp/xtensa-esp32s2-elf/ directory.
Add the following to ~/.profile:
export PATH="$HOME/esp/xtensa-esp32s2-elf/bin:$PATH"
Optionally, add the following to ~/.profile:
alias get_esp32s2='export PATH="$HOME/esp/xtensa-esp32s2-elf/bin:$PATH"'
3. Re-log in to validate .profile. Run the following to check PATH:
printenv PATH
Espressif Systems
3. Getting Started with ESP32-S2-MINI-1 &
/ 9 22
ESP32-S2-MINI-1U
Sep. 2020

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2-MINI-1 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Esp32-s2-mini-1u

Table of Contents