Programing other Atmel ARM chips using Arduino Ok, i know professionals generally hate Arduinos, but I would like to know if it would be possible to program Atmel ARM chips using the Arduino IDE. By which I mean, not needing to modify the source code, just add another entry into the "hardware" folder and that's it.

We already know the Atmel ATSAM3X8EA (Arduino DUE) is compattible, but how about a similar chip, like the Atmel ATSAM3X8CA. Or maybe a Cortex-M4 one, like the Atmel ATSAM4E16EA or the Atmel ATSAM4S8CA.

The Atmel ATSAM3X8CA is the closest one to the Atmel ATSAM3X8EA the Arduino Due uses, a bit smaller and with less I/O.

If it isn't possible without much source code modding, I would like to know what would it take to make it work.

Thanks for your answers.
Yes it is possible. IDE 1.5.+ support different platforms, as they call it. Where the AVR and sam are provided by stock. Others are possible. 

It is fairly involved setup. In short; within each platform there are the following files:


boards.txt, defines the individual boards using the similar processor.
platform.txt, defines the compiler arguments
programmers.txt, defines how to program it.


With corresponding sub directories to match, under the variants/ folder.
I have not found an complete tutorial on the matter. However, their 

Arduino IDE 1.5 3rd party Hardware specification

An overview of the platform architecture proposed for Arduino 1.5 

are a great place to start. 

I have not done much with SAM. I do notice that programmers.txt is empty. So it must be done another way.