Eclipse instructions for Windows 10 not matching ESP-IDF install

Max444
Posts: 5
Joined: Thu Jul 25, 2019 1:48 am

Eclipse instructions for Windows 10 not matching ESP-IDF install

Postby Max444 » Thu Jul 25, 2019 2:43 am

I recently downloaded and installed ESP-IDF 3.2.2 running under Windows 10. All went well and the getting started examples build using the ESP-IDF command prompt window. I really want to run in the Eclipse IDE, but the instructions for the Eclipse IDE on Windows did not come close to working with this version of ESP-IDF. The instructions say to set a PATH to C:\msys32\..... But that didn't exist in my install after running the Windows installer. The install script did create a C:\Program Files\Git\mingw64 directory ..... should this be used instead?

The instructions state:
Previous versions of ESP-IDF used the Legacy GNU Make Build System and MSYS2 Unix compatibility environment. This is no longer required, ESP-IDF can be used from the Windows Command Prompt.

OK. So can Eclipse now be configured to use Windows commands the same as ESP-IDF? And how?

I'm also getting errors trying to run python. I tried adding the installed version on the search path, but then I get errors not finding the .py file for python ${IDF_PATH}/tools/windows/eclipse_make.py. I know this file exists and the path looks right, so something is wrong with my configuration there as well.

I think a major update to the Eclipse instructions is required. If someone has figured this out, please let me know.

Thanks, Max

Max444
Posts: 5
Joined: Thu Jul 25, 2019 1:48 am

Re: Eclipse instructions for Windows 10 not matching ESP-IDF install

Postby Max444 » Fri Jul 26, 2019 9:32 pm

I went ahead and downloaded a Git to get the MSYS2 environment and configured Eclipse according to the existing Eclipse instructions using msys32. I set the IDF_PATH to the ESP-IDF distribution I have installed . So it's all working so far (debugger not configured yet) but a full build runs considerably slower in Eclipse that from the ESP-IDF command window. Incremental builds as I'm developing my programs should be faster and I can always open up the ESP-IDF Command Prompt when a full build is needed.

Max444
Posts: 5
Joined: Thu Jul 25, 2019 1:48 am

Re: Eclipse instructions for Windows 10 not matching ESP-IDF install

Postby Max444 » Wed Sep 25, 2019 4:56 am

In all fairness to Espressif, I found that they did state that the CMake environment for Eclipse would be supported in a later release and you should continue to use the legacy msys2 environment in Eclipse. Plus there was a warning that depending on your install, the builds might run slower.
I have set up Eclipse version 2019-09 and it's working fine with the msys32 window for menuconfig. I've also used JTAG debug mode with a ESP-PROG board and that is also working well.
I'm looking forward to improvements with the next release, but development is proceeding OK with my existing setup.

Who is online

Users browsing this forum: No registered users and 143 guests