Fed up with writing C-code in an “old” devenv – Use Visual Studio 2010

It’s nothing new, but something to think about.

I found myself “stuck” in a decent, but not great environment for writing C-code (or C++) for processor-cards. Environments like IAR Studio and AVRstudio does the job, but they cannot compete with Visual Studio when it comes to facilities.

So getting tired of not having all the shortcuts I’m used to I fired up Visual Studio, created and empty C++ project

image

added the files to an empty project

 imageimage

and voilà!

image

Intellisense works like a charm. And so does Find-All-References and a lot of the other stuff.

Of course some macros are marked with errors because it really does not know what those CPU-definitions are, and I haven’t bothered fixing the include paths for the CPU-specific files either.

image

VS wont be able to build anything for the CPU-target anyways. Next step is to add a shortcut/button to the Visual Studio environment telling it to use IAR to compile the files according to the “shadow” IAR-project.

I still need to do the actual debugging in IAR using the JTagMkII, and of course I miss the VS-debugger and all the possibilities it gives… But hey, you can’t always get it all!

Works for me! Smile

Advertisements

About skattefuten

Check my about page :-)
This entry was posted in C, Computers and Internet and tagged , , , , , , . Bookmark the permalink.

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s