Go Down

Topic: ATmega 8515 Arduino support? (Read 140 times) previous topic - next topic


I bought an ATmega 8515 for a project as i didnt want to put my own Arduino uno inside it. Why ATmega 8515? Because it was the easiest one for me to get my hands on. So i followed this instructable: http://www.instructables.com/id/Arduino-on-all-sorts-of-Atmels/?ALLSTEPS. And tried to program the chip without the Arduino bootloader (on the chip) using my Arduino uno as the programmer. Didn't work. Instead Arduino IDE (1.6.4) spit out this:

Code: [Select]
Third-party platform.txt does not define compiler.path. Please report this to the third-party hardware maintainer.

Error while uploading: missing 'recipe.cpp.o.pattern' configuration parameter

So then i started looking for the problem and found that a lot of stuff (that at least seemed very important) was missing from the Arduino extras folder that i had downloaded.

I have no idea what to do next. Is it possible in any way to get the chip to run Arduino programs? Maybe by modifying the downloaded or the original Arduino hardware files? Or has anyone made working ones? I am kind of a newbie in these things.

Thanks in advance.


Sounds like you're using pre-1.6.x resources? You didn't used to need programmers.txt and platforms.txt, but now you do.

What I did to make the cores I was working with work with 1.6.x was to just take programmers.txt and platforms.txt from the default Arduino core, and copy them to the appropriate location in my core.

There are also more parameters needed in boards.txt now, so those need to be sorted out as well.
ATtiny core for 841+1634+828 and x4/x5/x61/x7/x8 series Board Manager:
ATtiny 841/1634/828/88/861/167 breakouts, mosfets, touch sensors and prototyping board in my store http://tindie.com/stores/DrAzzy


Well i tried to put the platform.txt from the original arduino folder to the downloaded folder. Still didn't work. Arduino IDE said this:

Code: [Select]
sketch_jun02a.ino:1:21: fatal error: Arduino.h: No such file or directory
compilation terminated.
Error compiling.

I think that the arduino.h is supposed to be in the cores folder.(it isn't) Maybe copy it from the original arduino folder?

I also looked into the boards.txt as you said and well stuff was missing, but i don't know what the values for the added parameters should be. Should also make a new variants folder and add the mcu specs there, because i couldn't find the pinout and physical specification of the chip anywhere in the folders. Arduino software needs that right?

Go Up