Last active
December 27, 2020 10:23
-
-
Save smooker/2e3a9444e21ed58fb6f4fde83ad85a7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. origin https://github.com/crosstool-ng/crosstool-ng.git (push) | |
2. origin https://github.com/espressif/crosstool-NG.git (fetch) | |
git checkout esp-2020r3 | |
smooker@sd4 ~/src/espressif/crosstool-NG $ ./bootstrap && ./configure --enable-local --prefix=/home/smooker/src/espressif/root/ | |
INFO :: *** Generating package version descriptions | |
make -j8 | |
smooker@sd4 ~/src/espressif/crosstool-NG $ ./ct-ng xtensa-esp32-elf | |
CONF xtensa-esp32-elf | |
# | |
# configuration written to .config | |
# | |
*********************************************************** | |
Initially reported by: Ivan Grokhotkov <[email protected]> | |
URL: https://github.com/espressif/crosstool-NG | |
Comment: | |
Initially based on xtensa-esp108-elf sample reported by Max Filippov <[email protected]> | |
*********************************************************** | |
WARNING! This sample may enable experimental features. | |
Please be sure to review the configuration prior | |
to building and using your toolchain! | |
Now, you have been warned! | |
*********************************************************** | |
Now configured for "xtensa-esp32-elf" | |
in esp-idf | |
./install.sh | |
smooker@sd4 ~/src/espressif/esp-idf $ . ./export.sh | |
Adding ESP-IDF tools to PATH... | |
Using Python interpreter in /home/smooker/.espressif/python_env/idf4.3_py3.7_env/bin/python | |
Checking if Python packages are up to date... | |
Python requirements from /home/smooker/src/espressif/esp-idf/requirements.txt are satisfied. | |
Added the following directories to PATH: | |
/home/smooker/src/espressif/esp-idf/components/esptool_py/esptool | |
/home/smooker/src/espressif/esp-idf/components/espcoredump | |
/home/smooker/src/espressif/esp-idf/components/partition_table | |
/home/smooker/src/espressif/esp-idf/components/app_update | |
/home/smooker/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin | |
/home/smooker/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin | |
/home/smooker/.espressif/tools/xtensa-esp32s3-elf/esp-2020r3-8.4.0/xtensa-esp32s3-elf/bin | |
/home/smooker/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin | |
/home/smooker/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin | |
/home/smooker/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/bin | |
/home/smooker/.espressif/python_env/idf4.3_py3.7_env/bin | |
/home/smooker/src/espressif/esp-idf/tools | |
Done! You can now compile ESP-IDF projects. | |
Go to the project directory and run: | |
idf.py build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment