rdp 0 Posted July 15, 2020 Share Posted July 15, 2020 (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 July 15, 2020 by rdp Quote Link to post Share on other sites
StefanSch 10 Posted July 21, 2020 Share Posted July 21, 2020 If you prefer the GCC compiler just open the project properties (ALT + Enter) and select under CCS General | Compiler Version the GNU Compiler Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.