IDF_PATH for ESP32 and ESP8266

jhinkle
Posts: 32
Joined: Tue Apr 19, 2016 12:09 am

IDF_PATH for ESP32 and ESP8266

Postby jhinkle » Thu Sep 27, 2018 7:59 pm

I'm using Windows for development

I installed the IDF for ESP32 ... which requires and ENV variable IDF_PATH

I'm attempting to install the ESP8266_RTOS - IDF which also requires an ENV of IDF_PATH

But ... the two paths are not the same.

How do you recommend the use of both the ESP32 IDF and ESP8266 IDF since both use the same ENV variable but the associated paths are different?

Question ... if my statement is true --- should the ENV variable of the ESP8266 RTOS be different than that for the ESP32?

If so .. I could change all instances of IDF_PATH in the git download to say --- IDF_PATH_8266 but then I would need to modify them every time I did a git update.

Am I wrong in my understanding?

Any comments welcomed.

Thanks.

Joe

jhinkle
Posts: 32
Joined: Tue Apr 19, 2016 12:09 am

Re: IDF_PATH for ESP32 and ESP8266

Postby jhinkle » Sat Sep 29, 2018 12:17 am

Never mind - resolved

I have added a line to the project make file which exports the proper IDF_PATH string.

Removed it as a Global ENV variable.

Works great now

Who is online

Users browsing this forum: No registered users and 13 guests