Page 1 of 5
Compiling empty sketch failes with "board unknown"
Posted:
Sun Nov 15, 2015 7:19 am
by Gawan
Hi,
I just downloaded the Arduino IDE 1.6.6 and added the ESP8266 boards via board manager.
Works so far, I can now choose NodeMCU 1.0 as my board.
But when I afterwards try to simply compile an empty sketch, it fails with the following error message:
Board nodemcuv2 (platform esp8266, package esp8266) is unknown
Error compiling.
What am I doing wrong ?
BR
Gawan
Re: Compiling empty sketch failes with "board unknown"
Posted:
Sun Nov 15, 2015 4:26 pm
by martinayotte
The 1.6.6 is not supported yet, there are too many bugs with it, not only for ESP, but also with other MCU.
You should probably re-install 1.6.5 and ESP stuff thru BoardManager.
Re: Compiling empty sketch failes with "board unknown"
Posted:
Sun Nov 15, 2015 5:19 pm
by Gawan
Thanks a lot for this hint.
I tried with 1.6.5 and now it works fine !
Re: Compiling empty sketch failes with "board unknown"
Posted:
Sat Nov 21, 2015 12:58 am
by AdaBill
I also tried 1.6.6 with same result. When I went back to 1.6.5, they were now at a different rev level ( I was on r2, now at r5) and when I got everything running again with the latest esp8266 add in via Board Manager, my project DHT22 would no longer read anything back. it kept printing NAN . I read the posts about the sqrt problem so I commented out the Heat Index calls in the xx.h and xx.cpp files, and that didn't help, same problem. I even went back to an older version of the DHT driver that had 3 parameters in the call, and that did the same thing, no readings
The good news was that when you compile and empty sketch, it will now work!