Go Down

Topic: Issue download program with nodemcu (Read 158 times) previous topic - next topic

morfeas1974

Sep 11, 2019, 09:02 pm Last Edit: Sep 11, 2019, 09:03 pm by morfeas1974
Hi, when i try to download ANY program i recaive this answer :


Board generic (platform esp8266, package esp8266) is unknown

Error compiling for board Generic ESP8266 Module.


with the following conficuration :

Arduino: 1.8.9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

pert

The "Board ... is unknown" error occurs when a Boards Manager installation of a different version of a hardware package fails to completely uninstall the previous version. Here's how you solve it:
  • Click the link on the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name depending on OS) folder.
  • Navigate to the packages/esp8266/hardware/esp8266 folder.
  • You will see two folders. One is named by the version of the package you currently have installed, the other is named by the version of the package you previously had installed. Delete the folder with the previous version name. Please be very careful when deleting things on your computer. When in doubt back up!

After doing that, the error should be fixed.


FYI, in the Arduino world, the correct term is "upload", not "download".

morfeas1974


pert

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per

Go Up