How to configure Eclipse for the Stellaris Launchpad

eclipse-for-stellaris-launchpad

We’re partial to using gedit and a makefile for our AVR projects. But for the most part we don’t a debugger with those smaller chips. Now that we’re getting going with ARM processors we use debugging all the time and Eclipse is a great way to combine code writing, compiling, and debugging in one place. Sure, we could use one of TI’s provided IDEs (some of them are based on Eclipse), but we’d rather build our tools up ourselves. [Doragasu] is making this a snap with his Eclipse for Stellaris Launchpad tutorial.

He illustrates every step with a screenshot like the one seen above. Here he is including the driverlib from StellarisWare in the linking step. After all of the compiler and linker settings are just right all you need to do is make a copy of the template to start a new project. The final part of the setup configures lm4flash to write binaries to the chip, and configures OpenOCD for use when debugging.

[via Comments]

Comments

  1. dext0rb says:

    I’m currently demo-ing Keil uVision4 IDE. It’s…alright I guess, but the one thing that’s cool about it, is that it lets me see the peripheral configuration registers while debugging. Any way to do this from an Eclipse setup? It’s quite helpful when making sure your peripherals are configured correctly.

  2. Jeroen says:

    According to the TI website, my launchpads should ship tomorrow, after a 2-month wait, so this is very timely for me :). Thanks!

  3. me says:

    could someone please explain how to include the cmsis library or other useful libraries in gcc.

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 92,328 other followers