GCC for MSP430 microcontrollers is ready for primetime!


Not long ago, the BETA version of GCC (GNU Compiler Collection) for MSP430 was released. Now the partnership RedHat has resulted in the FREE production-ready compiler available integrated in CCS and stand-alone!

It is available for use with all MSP430 microcontrollers and enables you to go beyond the code-size or time-limited versions of CCS. If code size and performance optimizations (including those offered by tools like Optimizer Assistant) are critical for your application, you will still want to use the TI compiler, but if you are looking for a fully open source solution, give GCC a try

How does this GCC for MSP430 compare to existing solutions?

This GCC for MSP430 is a TI supported replacement to the community driven MSPGCC. It leverages the most recent 4.9 GCC release series as compared to 4.6 in MSPGCC and offers similar code size and performance levels. If you are used to using the optimized TI compiler, you should expect to see a 15% code size increase on average when using the MSP430 GCC as well as a similar code performance difference. This can vary from function to function, so if you have feedback, please let us know on the MSP430 E2E Forum.

Compiler Comparison TI Compiler New MSP430-GCC MSPGCC
Code Size and Performance
✓✓✓
Support TI TI Community
Cost $495 Free Free

Are you new to GCC?

"The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom."

  • The url for the "new" GCC compiler still lists it as a BETA version... 1.01.00 .. "Build date: 12102013

    THIS SOFTWARE IS A PRE-RELEASE VERSION FOR BETA USE THAT IS NOT INTENDED FOR PRODUCTION APPLICATIONS. THIS SOFTWARE HAS NOT BEEN TESTED AND MAY CONTAIN IRREGULARITIES AND DEFECTS NOT FOUND IN PRODUCTION SOFTWARE."

    Is this still the case, or has it actually been upgraded?

  • @ Dr. C. L. Fullmer

    This seems to be an issue. Let me verify and post back here when everything is live.

  • Hi All,

    We are experiencing some technical difficulties. Stay tuned for an update!

  • what other purposes are there others than having no code size/time limitation, and zero price tag to use the GCC compiler to insert a code into the msp430? Please share if anyone knows.

  • @ Amalinda

    Open source software can offer a number of advantages. Having the ability to grow based on community contributions enables software to improve greatly over time by essentially expanding the number of people working on it. Additionally, the open source nature of software gives the user the flexibility to tweak it to fit their needs.

  • It appears to have been a case of premature ejubilation...

    Perhaps tomorrow then...

  • Hi all,

    The version of GCC available in the latest Code Composer Studio v6 release is available, the stand-alone version will be available shortly.

  • I guess I misunderstood..

    I thought the currently released version (4.8.0 RedHat) in the CCSv6 (6.0.1.0040) was a Beta version.. and that this announcement was for a fairly stable GCC that we could actually use reliably..  

    Is that correct? or is the 4.8.0 still most current for CCSv6

  • @ Dr. C. L. Fullmer

    That is correct. The latest version is 4.9 and is available in the CCS app center.

  • Hi all,

    The issue was resolved today. You can now find the updated GCC version stand-alone and in the latest CCS app center.