windows: Don't expand PATH when generating setup

Ref #467 https://github.com/espressif/esp-idf/issues/467
This commit is contained in:
Angus Gratton 2017-03-30 10:58:58 +11:00
parent 0070612296
commit 987631b9a0
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ Windows doesn't have a built-in "make" environment, so as well as installing the
The quick setup is to download the Windows all-in-one toolchain & MSYS zip file from dl.espressif.com:
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20170321.zip
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20170330.zip
Unzip the zip file to ``C:\`` (or some other location, but this guide assumes ``C:\``) and it will create an "msys32" directory with a pre-prepared environment.

View file

@ -51,7 +51,7 @@ rm ~/${TOOLCHAIN_ZIP}
cat > /etc/profile.d/esp32_toolchain.sh << EOF
# This file was created by ESP-IDF windows_install_prerequisites.sh
# and will be overwritten if that script is run again.
export PATH="$PATH:/opt/xtensa-esp32-elf/bin"
export PATH="\$PATH:/opt/xtensa-esp32-elf/bin"
EOF
# clean up pacman packages to save some disk space