[Sultan Qasim] wrote in to tell us about the work he’s been doing on the Stellarino library. It’s goal is to break down the coding barriers present for those looking to move from Arduino to ARM. This is accomplished by facilitating Wiring-stlye code for the Stellaris Launchpad ARM development board.
Right off the bat [Sultan] mentions that the interface is Wiring-like, but is not compatible with it. This means you can’t just plop your existing sketches into a C file and get them to work with the addition of a simple include file. But what it does do is provide access to the functions to which seasoned Arduino users have grown accustomed. You can see some examples above, including analogWrite(), digitalRead(), and a simple delay function.
We had a quick look at the library. It uses StellarisWare components which are stored in the ROM of the chip (these are all preceded by ‘ROM_’). The one thing missing is the UARTstudio library which apparently carries a license incompatible with GPL.
well that was fast, the link for the modified CCS has been taken down for TOS violations. if anyone wants to send me a copy i’ll gladly host it until i’m legally obligated to remove it ^_^.
can you host this on github?
https://github.com/sultanqasim/Stellarino
Because this is incompatible with Arduino, you could just learn how to use the StellarisWare library. It hides all the low-level stuff, is quite well documented and has a big company behind it.
Yeah, I gotta say, TI has done a pretty good job with the StellarisWare libraries, the jump from coding with the Arduino libraries to StellarisWare is a lot smaller then I expected.
Yet another “*unio” clone.
Energia already exist:
http://energia.nu/download/
It supports the Ti MSP430 and stellaris Launch PADs
Energia does exist, and a Stellaris Launchpad port is in progress, but it isn’t really ready yet. This is decent as an interim library and it’s also meant to be an adequately easy to follow example for learning StellarisWare. I’ll be releasing an improved version of this library sometime tonight that fixes delayMicroseconds() (it’s timing is wrong in version 0.4) and implements a basic substitute for the UARTstdio library.
The couple of examples I tries seemed to work in Energia. I’m going to be honest though, I didn’t venture farther than the real basics.
Is this available anywhere?
It’s available for download as a TI Code Composer Studio project on http://stellarino.blogspot.ca/ and the latest source is also available on GitHub at https://github.com/sultanqasim/Stellarino
Some hours after your asked [Sultan] posted a github link to the second comment. Hope you saw that.
I applaud the effort.
But the added overhead of it makes me wince.
What’s wrong with using & | to wiggle bits? Is it that scary?
It’s meant to be an easy way to throw quick things together without having to worry about the registers. For simpler microcontrollers like the MSP430, manually setting the registers is the way to go.
Yes, there is considerable overhead, and using bitwise operators would make things lighter and faster, and would be better for real production firmware. The Stellaris Launchpad has plenty of speed and flash though, so it works fine even with all the overhead,
I can understand that it would make things simpler, and meant no direct criticism towards you.
I guess it’s a collision of methodology more than anything, since I first learned pic ASM, then went to C after that, and took a required course in ASM programing.
Things have changed in the past 7 years, and I guess I’m holding on to old ideology and techniques.
I’d also like to get involved in broadening the options for ARM support in the Arduino world.
.
We have published a similar version using our version of the gcc tools, that allows the compilation of Sketches (we call it MakeItC). We have this running on LPC1114, LPC175x, LPC176x, LPC2103, LPC2106, LPC2138, LPC2148. And are working on LPC800 now as well
I think the more the merrier, as to what tools are available for people, some like Sketch, some C, some BASIC…
http://www.coridium.us/setupC.exe is where our tools can be found.
oops, we can’t edit anymore —
that link is
http://www.coridium.us/files/setupC.exe
Stellarino is updated to v0.8 (as on 1/2/2013) on github