-
Notifications
You must be signed in to change notification settings - Fork 0
toolchain setup
mateoGC edited this page Sep 8, 2021
·
3 revisions
-
Download toolchain for linux from Espressif website:
-
Extract the downloaded file in ~/esp directory:
mkdir -p ~/esp cd ~/esp tar -xzf ~/Downloads/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz -
To use the toolchain, you will need to update your PATH environment variable in ~/.profile file by adding the following lines to the end of the file:
export PATH="$PATH:$HOME/esp/xtensa-lx106-elf/bin" alias get_lx106='export PATH="$PATH:$HOME/esp/xtensa-lx106-elf/bin"'Log off and log in back to make the .profile changes effective. Run the following command to verify if PATH is correctly set:
printenv PATHYou should be looking for a similar result:
/home/user-name/bin:/home/user-name/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user-name/esp/xtense-lx106-elf/bin