Espressif ESP32 User Manual page 9

Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

6. Install toolchain.
cd crosstool-NG/
./bootstrap && ./configure --prefix=`pwd` && make && make install
For auto-completion, do not forget to install 'ct-ng.comp' into
your bash completion directory (usually /etc/bash_completion.d)
username:/opt/Espressif/crosstool-NG$
./ct-ng xtensa-esp108-elf
***********************************************************
WARNING! This sample may enable experimental features.
Now, you have been warned!
***********************************************************
Now configured for "xtensa-esp108-elf"
username:/opt/Espressif/crosstool-NG$
./ct-ng build
[INFO ]
[INFO ]
[INFO ]
24:28)
[INFO ]
[INFO ]
[INFO ]
Note:
It takes about dozens of minutes to build toolchain.
7. Set the PATH variable to point to the newly compiled toolchain.
export PATH=/opt/Espressif/crosstool-NG/builds/xtensa-esp108-elf/bin:
$PATH
⚠ Notice:
Make sure you set the correct path, or it will occur a compile error.
Espressif
Please be sure to review the configuration prior
to building and using your toolchain!
Cleaning-up the toolchain's directory
Stripping all toolchain executables
Cleaning-up the toolchain's directory: done in 1.85s (at
Build completed at 20151210.175153
(elapsed: 24:27.54)
Finishing installation (may take a few seconds)...
2. Getting Started
2015.12

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents