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]
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.
Check this out: http://embsysregview.sourceforge.net/
I use this with a ST cortex m3 project of mine. The latest update seems to support the LM4F120H5QR found on the Launchpad.
Oooh, this looks right on. Thanks! I’m using the stm32f40x and there is support, woo hoo!
According to the TI website, my launchpads should ship tomorrow, after a 2-month wait, so this is very timely for me :). Thanks!
could someone please explain how to include the cmsis library or other useful libraries in gcc.
I was working in that, but I’m pretty busy ATM, and had to leave it for a while. I hope I can get back to it soon!
Doragasu from Stellarisiti was successful in doing this:
http://forum.stellarisiti.com/topic/333-anyone-building-cmsis-under-linux/