Compilation error: Platform 'esp8266com:esp8266' not found: platform not installed

Hi,

I'm having issues in compiling for a ESP8266 board.
I keep getting this message:

Platform 'esp8266com:esp8266' not found: platform not installed

Compilation error: Platform 'esp8266com:esp8266' not found: platform not installed

I have removed and again the installed board esp8266 v3.1.2.
I have the path to the packages in my preferences urls: https://arduino.esp8266.com/stable/package_esp8266com_index.json

Also I removed IDE 2 and did a fresh Install. Added the url to the preferences and installed the board package esp8266 again with no result.

What am I doing wrong.

PS: IDE 1 was also uninstalled and not on my PC anymore.

Gr,
Ron

Hi @Petjepet. Select the appropriate board from Arduino IDE's Tools > Board > esp8266 menu and then try compiling the sketch once again. Hopefully it will work as expected after that.

Arduino IDE remembers the board you had selected previously. This can cause the "platform not installed" error in cases where you have made certain changes to the installation of the boards platform for that specific board since the last time you tried compiling. In this case, the solution is to simply select the board again, which will update the configuration of Arduino IDE from the outdated one to the configuration appropriate for the current boards platform installation.

hi @ptillisch that brought me further.
Strange the board was already selected before and show above the sketch.

I now get a lot of library MCUFRIEND_kbv errors.
Might be another issue.
Thanks for helping out!

Gr,
Ron

Definitely. The fact that the compilation progressed far enough to get to those library errors proves that you have solved the problem of the "zombie" board selection. So this is progress at least!

Since it is unrelated to the original subject of this topic, please open a new forum topic to request assistance with the library errors. This will ensure it gets the attention of the forum helpers knowledgeable about the subject of your new problem. Make sure to include the full and exact text of the new errors in your post.

You are welcome. I'm glad if I was able to be of assistance.

Regards, Per