I have come accross a LM3S1968 Cortex-M3 evaluation board and I am wondering if I can use it in place of the Due? I can build a pin compatible shield thats no problem, the processor specs seem to have a lot in common with the Due, do you think it would be possible to trick the software into compiling for my luminary part?
bump
Anyone?
While the TI board and Due use the same core CPU, they are from different vendors and will have quite different peripherals, which would normally mean a separate set of compiler tools, and a new set of Arduino core and library files, for each case where the library interacts with the peripherals.
- No one seems to have done it yet.
- if you have to ask whether it's possible, you're probably not up to doing it.
- TI has marked all of the LM* chips are "not recommended for new designs", so it's probably not worth anyone spending time on it.
(meanwhile, there's an Arduino-compatible tool "Energia" for the TI "StellarisPad" and/or the amost-identical "TivaPad", which would be a much better starting point.)
The first thing I'd do is check on the cost of the C compiler and tool chain. When I've
looked at those series of boards in the past, the compilers I found all cost a lot, as
in $400 to $2500. Maybe they have something cheaper now.
It's an ARM CM3. It can use gcc. I believe that's what Energia does. (also mpide for the PIC32 MIPS, and Maple)
In fact, the compiler used for Due should work just fine; you just need a different set of low-level libraries (Due seems to use ASF ("Atmel Software Framework"), which is quite Atmel specific.)