Windows installer

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

Windows installer

Postby brazoayeye » Mon May 11, 2020 6:59 pm

Hello, I'm using windows 10 and I installed everything with esp-idf-tools-setup-2.3.exe after different failed tries.

I checked latest example in git, because i want to start from the most updated functions. I used the example where esp_netif_init is called, but It's not working when compiling. I checked local examples, finding different functions. For this reason I think that i'm not using the latest version.

To check that i tried what described in the page https://docs.espressif.com/projects/esp ... nt-version that's obviously not working, and --version option is not listed when writing idf.py --help.

Good, than I tried to update using what's described here: https://docs.espressif.com/projects/esp ... sions.html

after

Code: Select all

git checkout master
I had a message to stash some modifications, so i tried

Code: Select all

git stash
git checkout master
having the same error, than

Code: Select all

git reset
git checkout master
having the same error, than

Code: Select all

git reset --hard
git checkout master
having the same error.

Good, i renamed the esp-idf folder and i tried to download it again with

Code: Select all

git clone --recursive https://github.com/espressif/esp-idf.git
Questions are:
  • Is there a list or a scheme to understand which instruction works with which idf version?
  • What's wrong with tried update and what should I wrote?
  • Is it possible to add some informations regarding how to update windows version without installing all every time?
  • Is that a candid camera?
Thanks for help

User avatar
ESP_krzychb
Posts: 395
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Windows installer

Postby ESP_krzychb » Tue May 12, 2020 6:21 am

Hi brazoayeye,

It is difficult to provide instructions without knowing what has been changed inside of esp/esp-idf directory.

After modifying something in esp/esp-idf directory (e.g modifying existing file) and then trying to checkout another version, git will refuse to do so because of unstaged changes.

Instead of trying to revert, stash, reset or commit the changes (if you have no much experience with git) I would not touch anything inside esp-idf directory except running commands as described in https://docs.espressif.com/projects/esp ... sions.html

For example, instead of editing and compiling examples inside esp-idf directory I would compile them elsewhere as suggested in https://docs.espressif.com/projects/esp ... rt-project.

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

Re: Windows installer

Postby brazoayeye » Tue May 12, 2020 6:42 am

I didn't change anything voluntarily in the esp-idf directory, and I always copied the example folder in the eclipse workplace before editing. However I read examples directly from esp-idf, but the list of differences was very big (like 30 rows).

I didn't understand which version of idf the tools had downloaded, and I wanted to delete modifications and to have the updated main branch.

I whould like to follow only instructions provided in espressif docs, but for each step there is a problem not described in the troubleshooting and not understandable for a neophyt. I know git functionalities even if I never used it, but for sure I will never commit anything.

I only want a way to delete all changes, to move to the master branch and to keep it updated (and it seems pretty logic to do that for most of users). The error got in the first tried command suggested to stash modifications, and I did that with the idea to never use that.

User avatar
ESP_krzychb
Posts: 395
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Windows installer

Postby ESP_krzychb » Wed May 13, 2020 7:40 am

Once you see this issue again please post the log and steps how to replicate it.

User avatar
jgustavoam
Posts: 134
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: Windows installer

Postby jgustavoam » Tue Jun 23, 2020 1:19 pm

Hi,
See if it is the same problem:
ESP IDF installation error: Unexpected end of archive
viewtopic.php?f=13&t=13392
Retired IBM Brasil
Electronic hobbyist since 1976.

Who is online

Users browsing this forum: No registered users and 158 guests