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.

Compiler/TMS320F28069: Cannot RE-set compiler Options

Part Number: TMS320F28069

Tool/software: TI C/C++ Compiler

Hi,

I need to set the compiler options for CCS8 project.  They are:

-c  -pden -O1 -on2 -mn -ms --symdebug:dwarf  -d"DEBUG" -d"LARGE_MODEL" -ml -mt -mv -v28 -pdv –me

I cannot find some of them in CCS8 user interface. So I try to set the options in “Edit build flags” window.

However the changes I made (-mv option) do not come to the project properties and do not have any effect. After “OK” I have:

Please advise me how to edit and save compiler options.

I found the article   http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Build_Properties

 It confirms that

Additional compiler and linker flags can also be set directly to the build command via the "Set Additional Flags" button. Note, however, that once set, the flags cannot be removed or edited using the same dialog box.

 Compiler options are stored in .project file.  The syntax of .project file is too complex to edit it manually

 Thanks!

Blake

  • I found the project setting for -mv.  See the screen shot below.  One minor caveat ... You have to enter a value.  The compiler default is 2.  So start with that.

    Another general tip to consider ... Another way to enter compiler options which CCS does not see is with the option --cmd_file=custom_options.txt.  Read about it in the C28x compiler manual.

    Thanks and regards,

    -George