Jump to content
rdp

native CCS v10 compiler

Recommended Posts

Posted (edited)

I just received my MSP430 FR5994 LaunchPad kit and fired up my first project using CodeComposer v 10.1.0.00010.  I'm underwhelemed and wondering if I'm going down the wrong path.

Specifically, the compiler feels ancient.  For example,

for (int i=0; i<100; i++) {
  do_something_with(i);
}

won't compile, complaining that i is undefined.  All modern compilers I know of support this.  So with this construct:

int i;
for (i=0; i<100; i++) {
  do_something_with(i);
}

the compiler gives a "helpful" remark that "Detected loop counting up. Recommend loops count down as detecting zeros is easier".  Yes, I used to write counting-down loop code slavishly, but stopped doing that when compilers started including great `for` loop optimization..

So is there a way to swap out cl430 compiler and use some version of gcc or other modern compiler? 

Or am I just using the wrong IDE?

 

Edited by rdp

Share this post


Link to post
Share on other sites

If  you prefer the GCC compiler just open the project properties (ALT + Enter) and select under CCS General | Compiler Version the GNU Compiler

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...