Go Down

Topic: AVR Library with Arduino Due? (Read 3509 times) previous topic - next topic


Feb 14, 2013, 10:52 pm Last Edit: Feb 15, 2013, 08:25 am by Joggi4 Reason: 1
Hi Guys,

Is it possible to include a newer AVR Library working together with Arduino DUE or is something of the kind available for ATMEL SAMxx?

Thanks for the answers.



Have you found out more? Maybe I'm in front of the same thing...


Feb 23, 2013, 02:14 pm Last Edit: Feb 24, 2013, 12:19 pm by bobcousins Reason: 1
I am still puzzled by what you mean by the "AVR library".  There are many AVR libraries, do you have a specific one in mind?
Please ask questions in the forum so everyone can benefit. PM me for paid work.


Hello Joggi4,

May be it is not necessary to say but Arduino Due (ARM) uses sam libraries, not avr. Both architectures are quite different (processor, platforms, programmers). The Arduino and Atmel teams have done a magnificent job making some prior-Due shields/sketches compatible with Due. Don't get confuse thinking that because both sam and avr run under the same Arduino IDE, it should work the same with the libraries. IDE works mainly as set up compile tool chain. A lot of adaptation has to be done in the low level code (gpio, timers, memory barriers, interrupts, linker maps, macros, etc, etc) to make the AVR registers run in the ARM-Cortex core. Is that what you pursue to do? I believe, we must explore new avenues exploiting other 32-bit ARM libraries out there (solid proven) to fit in our Due. Regards!

Go Up