i am using ARDUINO UNO and ESP8266 V1.
my board setting like this.
board : generic esp8266 module.
programmer : AVRISP mkII
while i upload my code then i get the error.
Board generic (platform esp8266, package esp8266) is unknown
Error compiling.
please help me
thanks in advance
I had this error when I used a version Arduino IDE 1.6.7. In version 1.6.5 all good.
may the same as #1377, #1387
try to delete the 2.0.0 and rc2 folder, and then install the rc2 new.
https://github.com/esp8266/Arduino#installing-with-boards-manager
HaD the same error. Intuitively did the same as Links2004 suggested. Works for me.
On Mac OS X, the folder is located at
/Users/$USER/Library/Arduino15/packages/esp8266/hardware
Check out step 5 of this Instructable ...
It will solve this problem.... :)
Link is Broken :( what was it?
I was face same problem. I fix that problem
Goto C:\Users\"Your Username"\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266
Now you will see two version. you need to delete old version then restart your arduino IDE.
i am using ARDUINO UNO and ESP8266
my board setting like this.
board : generic esp8266 module
Board esp8285 (platform esp8266, package esp8266) is unknown
Error compiling for board Generic ESP8285 Module.
Thx! @borhanreo
greetings
After boards update you need to restart IDE.
Check there is no previous version in ....\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266
sorted out. thank you
Board nodemcuv2 (platform esp8266, package esp8266) is unknown
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Very important that there is NO other directory than the esp distro in the folder being discussed Arduino15\packages\esp8266\hardware\esp8266.
Having even a hidden folder (.vscode) in there will generate the same compiler error. Hope this helps someone out.
Board nodemcuv2 (platform esp8266, package esp8266) is unknown
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
1377
A concise tutorial explaining the issue can be found here!
https://arduino-esp8266.readthedocs.io/en/latest/faq/a04-board-generic-is-unknown.html
Most helpful comment
Check out step 5 of this Instructable ...
It will solve this problem.... :)