-
Notifications
You must be signed in to change notification settings - Fork 1
Get the ESP8266 toolchain
mtribiere edited this page Mar 6, 2021
·
2 revisions
In this section, we will just setup the workspace area, and download the toolchain from Espressif.
Note : The toolchain link provided here works fine. However, those tools will be updated in the future, so be sure to check for any updates
- First, you need to install all dependencies
$> sudo apt-get install gcc git wget curl make libncurses-dev flex bison gperf python
- Next create an appropriated folder, download the toolchain, and extract it
$> mkdir -p ~/esp && cd ~/esp
$> wget https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
$> tar -xzf xtensa-lx106-elf-*
$> rm *.tar.gz
- Then, automate the sourcing of the toolchain path
$> echo "export PATH=\"$PATH:$HOME/esp/xtensa-lx106-elf/bin\"" >> ~/.bashrc
You need to close and reopen your terminal before changes take effect.
This page is part of the ESP8266 EPAPER library project