I have been a way for a couple of years. My Arduino 1.8.19 had ChipKIT core, but 2.2.1 fails to install it from github.
Is this a bug or has there been a fallout between Arduino and Digilent/Microchip?
be well,
DLC
I have been a way for a couple of years. My Arduino 1.8.19 had ChipKIT core, but 2.2.1 fails to install it from github.
Is this a bug or has there been a fallout between Arduino and Digilent/Microchip?
be well,
DLC
All, never mind. I found the answer here:
The URL method did not work to load the ChipKIT board environment so I pulled the zip from github and installed that. In that platform.txt file are the hints that tell you what you need to do if you used the zip file to install it.
be well,
DLC
Hi @robodlc. I see you already found some sort of solution, but in case it might be helpful to others who experience a problem installing the ChipKit boards platform in Arduino IDE 2.x, I'll post this anyway:
What do you mean by "install it from github"?
I just tried installing a ChipKit boards platform according to these instructions:
It failed with this error:
Installing chipKIT:pic32-tools@1.43-pic32gcc
Failed to install platform: 'chipKIT:pic32:2.1.0'.
Error: 13 INTERNAL: Cannot install tool chipKIT:pic32-tools@1.43-pic32gcc: searching package root dir: no unique root dir in archive, found 'C:\Users\per\AppData\Local\Arduino15\tmp\package-2569908807\bin' and 'C:\Users\per\AppData\Local\Arduino15\tmp\package-2569908807\lib'
Arduino IDE 2.x is more strict about the structure of the boards package archive files than Arduino IDE 1.x was. The incorrect structure of the archive file for the "pic32-tools" tool dependency of the platform is the cause of the error I experienced, as discussed here:
The easiest workaround will be to use Arduino IDE 1.x to install the platform. Once you have done that, you can switch back to using Arduino IDE 2.x, which will recognize the platform you installed via Arduino IDE 1.x after you restart the IDE.
The download links for Arduino IDE 1.8.19 are listed here:
https://www.arduino.cc/en/software#legacy-ide-18x
You can have Arduino IDE 1.x and 2.x installed at the same time without any problems, so you don't need to uninstall Arduino IDE 2.x before installing 1.x.
That was quite an odd conclusion to jump to.
Thanks for that information! My Google-foo failed to provide me with any references to the error that I got, and you mention, when using the URL method, and failing as you showed. I DID find information about how to mod the zip archive install to get things working. Your work-around is easier.
As for the "fall-out" comment, I also ran into complaints about Arduino and Microchip processors and free C++ compilers for them, but missed the caveat "PIC32 excepting".
Weird stuff happens, so anything is possible I suppose.
be well,
DLC
You are welcome. Thanks also for taking the time to share the solution you found!
Regards,
Per