-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board is unknown with Git version and 1.6.7 #1387
Comments
check your arduino dir you may have staring and stable mixed |
C:\Program Files (x86)\Arduino only? |
some think like: C:\Users[username]\AppData\Roaming\Arduino15\packages\esp8266\hardware |
Sorry maybe a stupid question but i'm confused now. Readme is a bit minimalistic at this part and says:
What is the full path ? |
Duplicate of #1377 ? |
The issue seems to come from different FQBN's when using boards manager package version and git version. Regarding the installation directory, you should place the git copy into Arduino program directory (which may be in Program Files or in another place, depending on where you have placed your copy of Arduino software). The path mentioned by @Links2004 is where Arduino IDE places downloaded boards manager packages itself. If you use git version, make sure you don't have the esp8266 package in that directory, or it will actually be used instead of your git copy. |
@networxnet any feedback? |
I have the same issue:
OSX Arduino 1.6.8, 2.1 stable or 2.0 - doesn't matter. But folder Documents/Arduino/Hardware is empty. |
having the same issue in Mac OS X |
I have same issue on Windows 10, Arduino 1.6.8, Installing with Boards Manager. Version 2.1 stable or -rc2 is the same. The error when compile:
It was ok when I use it in the Arduino 1.6.7. The problem appear when upgrade to 1.6.8. There is no folder name Any suggestion is appreciate. |
I lucky solve the problem by: Go to the folder:
In this folder, in my case, there are 2 version folder. I delete the older ver folder and everything working fine again. |
thanks @anhhuy0501 !! |
For reference... Had the same problem with my boards manager installation using IDE 1.6.8 on OSX. I had previously used several older versions like 1.6.5 and 1.6.5 on the same system. It was not obvious to me how or where to delete the ESP8266 board files. My setup points my sketches to a Dropbox folder, but previously had them in Downloads. Tried using board manager to auto remove and replace the ESP8266 board, tried doing so with restarts in between actions as well as selecting an UNO in between remove and replace... Notta. At one point I even had two complete listings of the various ESP8266 board within the IDE drop down menus. Ended up manually deleting anything related to hardware:ESP8266 within 1.) my Documents folder (had Arduino and Arduinosketches folders) as well as 2.) Dropbox:Arduino and 3.) also the hidden Arduino15 folder. Once all traces were remove, then I reinstalled with boards manager and all worked right away... |
@matroll U welcom. :) About the Arduino 15 folder, in Arduino ver 1.6.8, I see that we could find it by: File->Preferences, in the bottom of the References window, there is a link like this: Hope that will help. |
Thanks grantnlee for this, I had two directories in ~/Library/Arduino15/packages/esp8266/hardware/esp8266/ I deleted 2.2.0 and left 2.3.0-rc1and then all compiled ok |
Thanks @biol75 and others. removing 2.2.0 worked for me too. |
I had multiple versions of the libraries under %userprofile%\Appdata\Local\Arduino15\packages\esp8266\hardware. Removing one fixed the issue immediately for me. (Note: Uninstalling and reinstalling the boards in board manager won't fix it. Uninstalling and reinstalling the Arduino IDE won't fix it. You have to remove the 2nd version in the path above to fix, even on 1.6.9. |
Same problem, must be a bug in board manager |
I switched to platformio and never looked back |
@culbeda Thanks...that fixed it! |
You are a genious ! It works perfect. I lost 2 days looking for the problem. |
I got myself stuck here too, I am on OSX. Tried to take the staging version to poke at spiffs filesystem. After trying to revert to the stable version I began to receive the same message. To fix this I did the following.
|
Confirmed, removing the 2.1.0 board file fixed the compile issue for me too |
Switching between package manager and git version is documented. Closing. |
This suggestion is remarkable!!! Then it works like a charm. |
how do i add ESPWiFi.h library to my arduino environment |
When i use Git version with 1.6.7 as described in the newest read.me i still have
"Board nodemcuv2 (platform esp8266, package esp8266) is unknown" error.
For my understanding it should work with 1.6.7 now?!
Can somebody please verfiy.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: