EmbeddedRelated.com
Forums

reducing code size in code composer essentials v3

Started by Alan Ball January 12, 2009
Dear All,

I've just started using Code Composer Essentials v3 to write code for the MSP430F435. At the minute I'm just using the 16kB free version, but my company has bought a few seats of the professionnal version.

I'm trying to port C code that was written for another chip into CCE and I keep getting the "output file exceeds code size limit" error message. Are there any compiler options that can help reduce the code size? I'm currently using the following build settings:

"C:/Program
Files/Texas Instruments/CC Essentials
v3/tools/compiler/MSP430/bin/cl430" --define=__MSP430F5435__ --define=INCLUDE_GPRS --fp_reassoc=off --include_path="C:/Program
Files/Texas Instruments/CC Essentials v3/tools/compiler/MSP430/include"
--include_path="C:\Documents and Settings\alanball\CCE\Vcell_v3\inc"
--sat_reassoc=off --symdebug:dwarf --gen_func_subsections --plain_char=unsigned
--silicon_version=mspx --opt_for_speed=0 --opt_level=3 --printf_support=nofloat
--std_lib_func_not_defined --obj_directory="src"
--preproc_with_compile

Any suggestions?

Thanks in advance for your help,

Regards,

Alan


Beginning Microcontrollers with the MSP430