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.

Suggestion: Add selected target name defined symbol

Other Parts Discussed in Thread: TMS570LS0914

Will be useful if I can use selected target platform definition for condition compilation

for sample:

#ifdef TMS570LS0914
func_for_0914()
#endif
#ifdef TMS570LS1224
func_for_1224()
#endif

This can be done modifying files in ccsv6\ccs_base\common\targetdb\devices\ folder.

For tms570ls0914.xml  modify line

<property Type="stringfield" Value="--silicon_version=7R4 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --elf" id="CompilerBuildOptions" />
to

<property Type="stringfield" Value="--silicon_version=7R4 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --elf --define=TMS570LS0914" id="CompilerBuildOptions" />