Stellarino brings Wiring-style coding to the Stellaris Launchpad

wiring-for-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.

Comments

  1. wolfy02 says:

    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. lee says:

    can you host this on github?

  3. ju1ce says:

    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.

  4. lloyd says:

    Yet another “*unio” clone.

  5. luis says:

    Energia already exist:

    http://energia.nu/download/

    It supports the Ti MSP430 and stellaris Launch PADs

    • Sultan says:

      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.

  6. rsyoung says:

    Is this available anywhere?

  7. zarnochwf1 says:

    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?

    • Sultan says:

      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,

      • zarnochwf1 says:

        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.

  8. Brucee says:

    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.

  9. Brucee says:

    oops, we can’t edit anymore —

    that link is

    http://www.coridium.us/files/setupC.exe

  10. Wayne Scicluna says:

    Stellarino is updated to v0.8 (as on 1/2/2013) on github

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,825 other followers