Crossworks setup assistance

Hey all,

I was wondering if someone has created a guide on how to setup the Crossworks IDE with the code developed for SparkFun’s products? The Makefile seems to be the key, but I am having trouble with making heads-or-tales of how to use/incorporate it with the Crossworks IDE. Any assistance would be appreciated in getting things up and running. In the interim, I am using the WinArm toolchain for all of my compiling. I am specifically trying to get the Package Tracker software running…

Again, thanks…

-Ben

You just want to compile GCC code with Crossworks? Crossworks manages it’s own make files. You don’t need to use the one supplied by Sparkfun, you just need to setup the project for your specific target and add the source files.

There’s no trick to it.

I see… I was just hoping that the makefile could just be imported.

A second question: How do I enable the “gnu99” mode in Crossworks. The inline defines in the FOR loops don’t play nice without that gnu99 defined.

Thanks!

Highlight your project in the Project Explorer. Look in the Properties window for Preprocessor Options → Preprocessor Definitions