Can't get rid of old hardware/cores reference.

I did a clean install of 1.8.13 on Windows 10 oro and I can not compile anything because is is looking for hardware/cores that no longer exist.
Every time I try to compile anything I get: loading hardware from C:\Program Files (x86)\Arduino\hardware: loading package mighty-1284P: invalid version dir C:\Program Files (x86)\Arduino\hardware\mighty-1284P\mighty-1284p-1.6.3\avr: no major version found
I looked in the registry and the environmental variables and could not find anything.
I have not had that hardware installed and have tried doing fresh IDE installs and also using CC cleaner. I can not find the GCC environment variable to delete so I am not sure where to find the setting to get rid fo the "mightly 1284P" hardware.
I don't have this issue with the "APP" from the APP store.
Any ideas?


This has nothing to do with registry or environment variables. The cause of the error is purely the presence of this folder:

C:\Program Files (x86)\Arduino\hardware\mighty-1284P\mighty-1284p-1.6.3

The correct installation structure looks like this:

C:\Program Files (x86)\Arduino\hardware\mighty-1284P
|_ avr
|_ boards.txt
|_ etc.

So just move the avr folder up one folder level, delete the C:\Program Files (x86)\Arduino\hardware\mighty-1284P\mighty-1284p-1.6.3 folder, and that issue will be resolved.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.