This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

code size

Other Parts Discussed in Thread: HALCOGEN

Is there a code size limit using the free CCS and Halcogen distributed by TI?

Is there a gcc compiler that will work with the Hercules launchpad?

  • Dan,

    Yes, please check out this page for license restrictions:

    http://processors.wiki.ti.com/index.php/Licensing_-_CCSv6

    Regards, Sunil

  • How do I check the code size?

  • OK, I found a .map file that contains code size information. Which part of the memory usage must stay under the 16K limit?

  • Dan,

    There isn't a code size limit for CCS / Hercules.
    The only products that have the limit are MSP430 products.

  • Great! Thanks Anthony. Is that true for all both the TI compiler and GCC?

  • Dan,

    The TI compiler / CCS.

    For GCC you have to go to the vendor and confirm but anyway if it were restricted you could remove the restriction yourself - so doubt anyone would go through this trouble.

    The real concern I have talking to you about GCC is support.  I don't believe we provide support for GCC / Hercules as a combination. Even though GCC is included w. CCS - this was driven by the Tiva product line - which is Cortex M based and little endian.  This is a very mainstream variant.    If you are using a Hercules product in the TMS570 line (BE-32) there might be issues you run into w. the stock toolchain.   Honestly I don't know if this is still the case.  I tried it myself and ran into issues w. the libraries but that was maybe > 5 yrs ago.  

    There is a third party (Atollic) that supports GCC and Hercules.  But they sell an IDE product so in that case you're not using CCS.  They do have an academic license.   We added GCC to HalCoGen mainly for use w. Atollic and any other vendors that use the GCC compiler.

    Of course because of the EABI standard - it is possible to use CCS and debug code compiled with GCC.   But you might think about support in this scenario as well since it's not a normal combination.