From 2ddd05a3faed9ec00ed272af566a1f31a0191214 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 30 Aug 2016 18:10:30 +1000 Subject: [PATCH] Eclipse docs: Prepend IDF paths to beginning of PATH Avoids problem when a different incompatible make (MSYS1 or other) is already on PATH. --- docs/eclipse-setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/eclipse-setup.rst b/docs/eclipse-setup.rst index 07c8c2538..2f36a5fc9 100644 --- a/docs/eclipse-setup.rst +++ b/docs/eclipse-setup.rst @@ -39,7 +39,7 @@ Project Properties *Windows users only, follow these two additional steps:* -* On the same Environment property page, edit the PATH environment variable and append ``;C:\msys32\usr\bin;C:\msys32\mingw32\bin;C:\msys32\opt\xtensa-esp32-elf\bin`` to the end of the default value. (If you installed msys32 to a different directory then you'll need to change these paths to match.) +* On the same Environment property page, edit the PATH environment variable and prepend ``C:\msys32\usr\bin;C:\msys32\mingw32\bin;C:\msys32\opt\xtensa-esp32-elf\bin;`` at the **beginning** of the default value. (If you installed msys32 to a different directory then you'll need to change these paths to match.) * Click on the "C/C++ Build" top-level properties page then uncheck "Use default build command" and enter this for the custom build command: ``bash ${IDF_PATH}/bin/eclipse_windows_make.sh``.