Page 1 of 1

How to update Windows MSYS2 environment

Posted: Tue Sep 19, 2017 6:35 am
by mikekgr
Dear Sirs,
in my Windows 10 computer I have Windows all-in-one toolchain & MSYS installed as well as ESP-IDF,
My problem is, I am not sure how to update the toolchain & MSYS. Today when I visited:
https://esp-idf.readthedocs.io/en/lates ... setup.html
I saw that a new toolchain & MSYS is released { https://dl.espressif.com/dl/esp32_win32 ... 170918.zip }. Obviously this is newer that my installed version.

So what steps I have to follow in order to update my installed version to the latest released?

Thanks and Best Regards,
Mike Kranidis

Re: Proper way to keep me updated?

Posted: Tue Sep 19, 2017 6:58 am
by ESP_Angus
Hi Mike,

Thanks for pointing out this shortcoming in the documentation.

Probably the easiest thing you can do is to download the new full precompiled environment, and copy the "C:\msys32\home" directory from your old environment into the new one.

Alternatively for this upgrade, you can just download the new version of the toolchain from here:
http://esp-idf.readthedocs.io/en/latest ... -toolchain
then delete the old toolchain from C:\msys32\opt and unzip this new version in place of it.

Angus

Re: Proper way to keep me updated?

Posted: Tue Sep 19, 2017 7:09 am
by mikekgr
ESP_Angus wrote:Hi Mike,

Thanks for pointing out this shortcoming in the documentation.

Probably the easiest thing you can do is to download the new full precompiled environment, and copy the "C:\msys32\home" directory from your old environment into the new one.

Alternatively for this upgrade, you can just download the new version of the toolchain from here:
http://esp-idf.readthedocs.io/en/latest ... -toolchain
then delete the old toolchain from C:\msys32\opt and unzip this new version in place of it.

Angus
Thanks a lot. To be honest I already did your first suggestion ( I copy over me "home" dir ) but I was not sure that I did the proper.

Best Regards,
Mike Kranidis

Re: How to update Windows MSYS2 environment

Posted: Wed Sep 20, 2017 1:14 am
by ESP_Angus
OK, good to hear Mike. We're going to update the documentation with some suggestions about upgrading from previous environments.