After update, the following is dispyad when compiling 'hello world'
fatal: 'git status --porcelain=2' failed in submodule components/asio/asio
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
ESP32 tools update broken
Re: ESP32 tools update broken
The path was broken:
\/opt/xtensa-esp32-elf/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Fix:
Edit /etc/profile.d/esp32_toolchain.sh, remove backslash in front of first forward slash
Restart shell. WORKS!
\/opt/xtensa-esp32-elf/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Fix:
Edit /etc/profile.d/esp32_toolchain.sh, remove backslash in front of first forward slash
Restart shell. WORKS!
Re: ESP32 tools update broken
Hi peter,
Thanks for reporting this. The order of paths was changed recently and the backlash escape character wasn't moved correctly in windows_install_prerequisites.sh. Have contributed a fix which should be available shortly.
Actually, after the fix the contents of /etc/profile.d/esp32_toolchain.sh will be similar to previous versions, which was:
(The idea being that the parent $PATH is expanded each time the profile is run, so changes in the Windows PATH will become visible in MSYS2.)
Thanks for reporting this. The order of paths was changed recently and the backlash escape character wasn't moved correctly in windows_install_prerequisites.sh. Have contributed a fix which should be available shortly.
Actually, after the fix the contents of /etc/profile.d/esp32_toolchain.sh will be similar to previous versions, which was:
Code: Select all
# This file was created by ESP-IDF windows_install_prerequisites.sh
# and will be overwritten if that script is run again.
export PATH="/opt/xtensa-esp32-elf/bin:$PATH"
Who is online
Users browsing this forum: Gaston1980, Google [Bot] and 131 guests