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" />