Error when updating ESP_IDF

Ritu21
Posts: 123
Joined: Sat Aug 04, 2018 9:58 am

Error when updating ESP_IDF

Postby Ritu21 » Mon Apr 01, 2019 1:31 pm

Hi

I am getting below error when updating esp-idf-
git submodule update
error: Your local changes to the following files would be overwritten by checkout:
esptool.py
Please commit your changes or stash them before you switch branches.
Aborting
Unable to checkout '40258ed6de78672ef20862fea24fbdf4a9b38413' in submodule path 'components/esptool_py/esptool'

Please suggest how to solve this?

Thanks
Ritu.

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: Error when updating ESP_IDF

Postby ESP_Roland » Tue Apr 02, 2019 5:58 am

Hi Ritu21,

you can solve it like this:

Code: Select all

cd $IDF_PATH/components/esptool_py/esptool
git checkout -- esptool.py
cd $IDF_PATH

Ritu21
Posts: 123
Joined: Sat Aug 04, 2018 9:58 am

Re: Error when updating ESP_IDF

Postby Ritu21 » Tue Apr 02, 2019 6:13 am

Hi Roland,

Thanks. It works like a charm :D

Who is online

Users browsing this forum: No registered users and 142 guests