Go Down

Topic: programming other sam3/4 microcontrollers with arduino IDE (Read 484 times) previous topic - next topic



I'm new to embedded systems and software.  I was interested in using other ARM controllers, such as the SAM4L with the other arduino libraries (like the SD writer and the Red Bear blue tooth shield).  I'm wondering how easy is it/what I need to do to adopt code for the Arduino Due to other microcontrollers that are also ARM?

Thanks so much!


Dec 28, 2013, 03:14 pm Last Edit: Dec 28, 2013, 03:16 pm by Graynomad Reason: 1
To get the Arduino libraries working on another chip somebody has to port the code across, this is a job that can range from easy to major project.

As the SAM4 is very similar to the SAM3 the job should fall towards the easy end, but someone still has to do it and there are bound to be issues.

Actually the fact that the CPU is an ARM is (almost) irrelevant at the Arduino level as 99% of the code deals with the peripherals, the actual core CPU is hardly ever referenced by the code.

what I need to do to adopt code for the Arduino Due to other microcontrollers

Grab the source code for all the core libraries and get to work...good luck, it's doable but probably not by you if you are asking :)

Alternatively buy one of the many boards around that already have this work done, for example the Teensy 3.

Rob Gray aka the GRAYnomad www.robgray.com

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131