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.

TMS320F280049: How to specify the original folder when the ccs project file using link (not copy) for library files or .cmd files?

Part Number: TMS320F280049

Hi 

I have a F280049 project file (.projectspec), all files are linked to the original folder.

What's the normal way to specify a search path to those library files and link files (.cmd)?

I don't want to use "-I" to specify an absolute path to the original folder in the project file.

The project is as the followings:

<projectSpec>
  <project
        name="1_ph_Pwm_with_DC_input"
        device="TMS320F280049M"
        cgtVersion="16.9.1.LTS"
        launchWizard="False"
        linkerCommandFile=""
        >
    <configuration name="1_RamDebug" compilerBuildOptions="--opt_level=off -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0  --define=CPU1  --diag_warning=225  --diag_suppress=10063 --display_error_number" linkerBuildOptions="--stack_size=0x30A -heap=0 --entry_point code_start" />
    <configuration name="2_RamRelease" compilerBuildOptions="--opt_level=3 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0  --define=CPU1  --diag_warning=225  --diag_suppress=10063 --display_error_number" linkerBuildOptions="--stack_size=0x30A -heap=0 --entry_point code_start" />
    <configuration name="3_FlashRelease" compilerBuildOptions="--opt_level=3 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0  --define=CPU1 --define=_FLASH --diag_warning=225  --diag_suppress=10063 --display_error_number" linkerBuildOptions="--stack_size=0x30A -heap=0 --entry_point code_start" />
    <configuration name="4_FlashRamRelease" compilerBuildOptions="--opt_level=3 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0  --define=CPU1 --define=_FLASH --diag_warning=225  --diag_suppress=10063 --display_error_number" linkerBuildOptions="--stack_size=0x30A -heap=0 --entry_point code_start" />

    <file action="link" path="1_ph_Pwm_with_DC_input.c" targetDirectory="" />

    <file action="link" path="F28004xCla.cla" targetDirectory="" />

    <file action="link" path="PsBiosRamF004xFloat.lib" targetDirectory="" applicableConfigurations="1_RamDebug,2_RamRelease" />
    <file action="link" path="PsBiosRomF004xFloat.lib" targetDirectory="" applicableConfigurations="3_FlashRelease,4_FlashRamRelease" />
    <file action="link" path="cla2_math_library_datarom_fpu32.lib" targetDirectory="" />
    <file action="link" path="F28004x_CLADATROM_Symbols_fpu32.lib" targetDirectory="" />
    <file action="link" path="f28004x_headers_nonbios.cmd" targetDirectory="" />
    <file action="link" path="F280049_RAM_lnk.cmd" targetDirectory="" applicableConfigurations="1_RamDebug,2_RamRelease" />
    <file action="link" path="F280049_FLASH_lnk.cmd" targetDirectory="" applicableConfigurations="3_FlashRelease" />
    <file action="link" path="F280049_FLASH_RAM_lnk.cmd" targetDirectory="" applicableConfigurations="4_FlashRamRelease" />
  </project>
</projectSpec>

Thanks,

Jiakai