Pages: [1]   Go Down
Author Topic: programming other sam3/4 microcontrollers with arduino IDE  (Read 269 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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!

nr Bundaberg, Australia
Offline Offline
Tesla Member
Karma: 129
Posts: 8600
Scattered showers my arse -- Noah, 2348BC.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

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

« Last Edit: December 28, 2013, 09:16:24 am by Graynomad » Logged

Rob Gray aka the GRAYnomad

Pages: [1]   Go Up
Jump to: