Stellarino Brings Wiring-style Coding To The Stellaris Launchpad


[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.

18 thoughts on “Stellarino Brings Wiring-style Coding To The Stellaris Launchpad

  1. 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 ^_^.

  2. 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.

    1. 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.

    1. 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,

      1. 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.

  3. 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… is where our tools can be found.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.