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.

Build option export from CCS3.3

Hi,

 

   I am working on F2812 DSP with CCS3.3, my project uses IQmath, DMC and filter library, and many path are included in the Build Option dialogue. I was wondering if I still need to set these paths next time I start a project. Is there a tool to export such options so that next project can use directly.

 

Many Thanks!

F. W

  • The include paths do have to be set for each project, but if you want to create a set of include paths that are used among multiple projects, you could put them in a options file. Just create a text file, add the options in there and save it (say myoptions.opt). Then under Build Options->Compiler->Files category, add the file name to the Options File (-@) option. This will read the options specified in the file just like it would from command line. Then you can use the same file with multiple projects.

  • Hi, Aarti

    Thanks for the reply. Indeed what I need.

    Do you have a example file? Or could you tell me how to differentiate Compiler parameters and Linker's parameters in the file

     

    F. W

     

  • I don't have an example file but all you need to do is create a text file and add the compiler options that you want to it, so the file could look like this:

    -i"c:\dir1\dir2" -i"c:\dir3\dir4" -o2 -g

    Then add this file to the -@ option field in the CCS Build Options.

    Note that this can only contain compiler options. For linker options you can add those to the linker command file (.cmd). Multiple command files can be passed to the linker so if you want to keep your options portable you could keep them in a separate command file. Command files are just passed as multiple files on the command line. The Compiler Users Guide and Assembly Language Tools Users Guide contains more information as well. 

  • OK. Thanks

    I will check these documents and try to use option files

     

    F. W