Arduino 1.6.6 and above, avr-gcc missing core.a

Hello,

First I would like to point out that I am as new to this world as can be, so please do not assume I would understand something that only is obvious to the general user of arduino stuff.

My “project” is to make a usb box for a logitech g25 h-pattern shifter. I found a guy who had made it for the Teensy. Another guy had converted the code to a Leonardo pro micro board and I went with this route.

In his description he only linked to the nightly and master of some stuff on github so I don’t the versions he used to compile it with. So I chose to get the 1.6.6 arduino ide but that has issues when I try to compile a built-in code example. The avr-gcc: core.a missing. I read the 1.6.7 nightly did not have this issue so I tried it and it was good.

Then I copied over the sparkfun board files and now I get this error again.

Can anyone help me get past this problem, please?

Debug: (I have changed userdir)

avr-gcc: error: C:\Users<USERDIR>\AppData\Local\Temp\build70768ac6d15d6e10db63700d3549dd38.tmp/core\core.a: No such file or directory

This error will show up on any sketch as long as a sparkfun board is selected.

On a sidenote:

What is the difference of Sparkfun Pro Micro 5V and Arduino Leonardo? The guy who made the port said it was for “leonardo / pro micro”…

Thank you for your time and effort.

I have found a solution for the sparkfun board. In platform.txt {archive_file} needs to be changed to {archive_file_path} in the ## Create archive section.

Still, the sidenote question I would explained, if someone feels like it :slight_smile:

Again, thanks for your time.

micnolmad:

On a sidenote:

What is the difference of Sparkfun Pro Micro 5V and Arduino Leonardo? The guy who made the port said it was for “leonardo / pro micro”…

Form factor for one thing. The supply voltage regulation is handled differently in both products. The Sparkfun Pro Micro does not have both 5 volt and 3.3 volt. It’s one or the other. And the 3.3 volt Pro Micro must run at the slower 8 MHz crystal speed, to work reliably. The Leonardo does provide 3.3 alongside 5 volt. Compare the schematics for further details. Same chip otherwise. Not sure what bootloader Sparkfun puts in theirs.

The common thing between them is that they handle the USB communication with the pc On-Chip. And as such they have 2 serial ports, one to USB-PC, one for hardware UART TTL serial pins. (and there is a brain hemerage between them, so it doesn’t forward the data to the other side. You’ll have to program it.) There is no extra AVR chip or FTDI chip doing the serial to USB translation, like on the Uno.

Thank you for that bit of info. Much appreciated. If there is that much different, wouldn’t a usb controller box mod be rather different for the two boards? I ask because I am writing my own update on the guide for this for arduino ide <1.6.6 as the libraries and other things have changed. It is rather difficult to follow the current guide to make this box.

micnolmad:
Thank you for that bit of info. Much appreciated. If there is that much different, wouldn’t a usb controller box mod be rather different for the two boards? …

I wouldn’t know, I don’t know what the usb controller box mod entails.