Arduino: Board generic (platform esp8266, package esp8266) is unknown

Created on 27 Jan 2016  路  14Comments  路  Source: esp8266/Arduino

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

Most helpful comment

Check out step 5 of this Instructable ...
It will solve this problem.... :)

All 14 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Marcelphilippeandrade picture Marcelphilippeandrade  路  3Comments

tttapa picture tttapa  路  3Comments

Geend picture Geend  路  3Comments

Chagui- picture Chagui-  路  3Comments

Khorne13 picture Khorne13  路  3Comments