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.

Missing sub-directories in sources.mk SUBDIRS when --program_level_compile selected

Hi,

CCS Version: 5.1.0.201104171800

CGT c4.7.1

My project is organised with code contained in sub-directories, thus:

ToolChain/lib
ServiceSoftware/SystemServices

ServiceSoftware/MemoryServices
ServiceSoftware/InputOutputServices
ServiceSoftware/CommunicationServices
.
PdMotorControl
DriverSoftware/MicrocontrollerDrivers
DriverSoftware/MemoryDrivers
DriverSoftware/InputOutputDrivers
DriverSoftware/ComplexDrivers
DriverSoftware/CommunicationDrivers
Ancillary

When I build without --program_level_compile selected, everything is okay. In file sources.mk, value of SUBDIRS is:

ToolChain/lib \
ServiceSoftware/SystemServices \
ServiceSoftware/MemoryServices \
ServiceSoftware/InputOutputServices \
ServiceSoftware/CommunicationServices \
. \
PdMotorControl \
DriverSoftware/MicrocontrollerDrivers \
DriverSoftware/MemoryDrivers \
DriverSoftware/InputOutputDrivers \
DriverSoftware/ComplexDrivers \
DriverSoftware/CommunicationDrivers \
Ancillary \

When I build with --program_level_compile selected, a particular sub-directory is excluded from the build (PdMotorControl). In file sources.mk, value of SUBDIRS is incomplete. I therefore get error for unresolved symbols. SUBDIRS is:

ToolChain/lib \
ServiceSoftware/SystemServices \

ServiceSoftware/MemoryServices \
ServiceSoftware/InputOutputServices \
ServiceSoftware/CommunicationServices \
. \
DriverSoftware/MicrocontrollerDrivers \
DriverSoftware/MemoryDrivers \
DriverSoftware/InputOutputDrivers \
DriverSoftware/ComplexDrivers \
DriverSoftware/CommunicationDrivers \
Ancillary \

Any ideas?

Regards, Tony.

  • Tony,

    Since this sounds more like a CCS build issue rather than a pure compiler issue, I will move this to the Code Composer forum.

    Could you save off the full build output from the build console and attach it here?

    Does the build finish without errors if the same build is performed on command line rather than within CCS? I also noticed that you are using an older version of CCSv5 (an early milestone release) and it is possible this issue is addressed in a newer version, however lets start with the output of the build console and I'll check if there were similar issues reported with the earlier CCS builds.

     

  • Hi Aarti,

    I hope you're well.

    I've attached both good (no program level compile) and bad (with program level compile) build console outputs. I have also appended in the files the resultant directory structure under the Release subdirectory.

    I don't know how to run the build from the command line, if you can enlighten me, I'll give it a go.

    Regards, Tony.

    7875.GoodBuild.txt

    **** Build of configuration Release for project MvMotorControlTMS570 ****
    
    C:\Program Files\Texas Instruments\CCS_5.1.0.04001\ccsv5\utils\gmake\gmake -k pre-build main-build 
    octave -q ..\PdMotorControl\motorModel.m
     - Use `pkg list' to see a list of installed packages.
     - SciTE editor installed. Use `edit' to start the editor.
     - MSYS shell available (C:\Program Files\Octave\msys).
     - Graphics backend: jhandles.
    
    Psi_m =  0.053574
    conversionNmToIq =  1391830
    Iq_demand =  340
    Nm_output =  1
    fw_K_L_term =  6624
    octave -q ..\ServiceSoftware\InputOutputServices\ThermLookupTables.m
     - Use `pkg list' to see a list of installed packages.
     - SciTE editor installed. Use `edit' to start the editor.
     - MSYS shell available (C:\Program Files\Octave\msys).
     - Graphics backend: jhandles.
    
    ans = 0
    octave -q ..\ServiceSoftware\SystemServices\TrigLookupTables.m
     - Use `pkg list' to see a list of installed packages.
     - SciTE editor installed. Use `edit' to start the editor.
     - MSYS shell available (C:\Program Files\Octave\msys).
     - Graphics backend: jhandles.
    
    ans = 0
    octave -q ..\DriverSoftware\ComplexDrivers\HetConfig.m
     - Use `pkg list' to see a list of installed packages.
     - SciTE editor installed. Use `edit' to start the editor.
     - MSYS shell available (C:\Program Files\Octave\msys).
     - Graphics backend: jhandles.
    
    projectType = PD18_MHV01 
    copy ..\DriverSoftware\ComplexDrivers\HetProgram.het .
            1 file(s) copied.
    hetp -v2 -n0 -hc32 HetProgram.het
    TMS470HET Assembler       470 PLATFORM HET Release 1.4
    Texas Instruments Incorporated. 
     PASS 1
     PASS 2
    
     No Errors, No Warnings
    del /f ..\DriverSoftware\ComplexDrivers\HetProgram.c
    copy HetProgram.c ..\DriverSoftware\ComplexDrivers\HetProgram.c
            1 file(s) copied.
    del /f HetProgram.het
    copy ..\DriverSoftware\ComplexDrivers\HetPost.het .
            1 file(s) copied.
    hetp -v2 -n1 -hc32 HetPost.het
    TMS470HET Assembler       470 PLATFORM HET Release 1.4
    Texas Instruments Incorporated. 
     PASS 1
     PASS 2
    
     No Errors, No Warnings
    del /f ..\DriverSoftware\ComplexDrivers\HetPost.c
    copy HetPost.c ..\DriverSoftware\ComplexDrivers\HetPost.c
            1 file(s) copied.
    del /f HetPost.het
    copy ..\DriverSoftware\ComplexDrivers\HetHwTest.het .
            1 file(s) copied.
    hetp -v2 -n2 -hc32 HetHwTest.het
    TMS470HET Assembler       470 PLATFORM HET Release 1.4
    Texas Instruments Incorporated. 
     PASS 1
     PASS 2
    
     No Errors, No Warnings
    del /f ..\DriverSoftware\ComplexDrivers\HetHwTest.c
    copy HetHwTest.c ..\DriverSoftware\ComplexDrivers\HetHwTest.c
            1 file(s) copied.
    del /f HetHwTest.het
    'Pre-Build command batch file'
    "C:/Documents and Settings/tony.morrell/My Documents/work/PD_MV/Trunk/MvMotorControlTMS570/PreBuild.bat" MvMotorControlTMS570 Release
    ===== PreBuild =====
    Generating SVNinfo.inc
    ===== PreBuild Complete =====
    ' '
    'Invoking: TMS470 Compiler'
    'Flags: --cmd_file="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Compiler.opt"  -mv7R4 -g -O3 --opt_for_speed=5 --program_level_compile --define=PD18_MHV01 --define=DIAGNOSTIC --define=MOTOR_CONTROL --define=DET_ENABLED --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Ancillary" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\PdMotorControl" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\DriverSoftware\CommunicationDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\DriverSoftware\ComplexDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\DriverSoftware\InputOutputDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\DriverSoftware\MemoryDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\DriverSoftware\MicrocontrollerDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ServiceSoftware\CommunicationServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ServiceSoftware\InputOutputServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ServiceSoftware\MemoryServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ServiceSoftware\SystemServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ToolChain\include" --diag_warning=225 --diag_remark=97 --enum_type=packed --elf --abi=eabi --code_state=32 --float_support=VFPv3D16 --plain_char=unsigned --gen_opt_info=2 -k --c_src_interlist --asm_listing'
    "C:/Program Files/Texas Instruments/TMS470 Code Generation Tools 4.7.1/bin/cl470" -@"ccsCompiler.opt"
    [ProjectDefinition.c]
    >> WARNING: object file specified, but linking not enabled
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Crc.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Dem.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Det.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Filter.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Img.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Log.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [ResourceMonitor.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Sys_Init.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Timer.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Trig.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Utilities.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Watchdog.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Calibration.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [IdVersion.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Alarm.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Analogue.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Pulse.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Thermistor.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Com.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Com_Cfg.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Xcp.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [DieId.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Esm.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [ExceptionVecHandler.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Gpt.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [HwCrc.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Nmi.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Registers.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Startup.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Stc.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Vim.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Dma.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Emif.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Flash.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Pbist.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Adc.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Dio.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Pwm.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Het.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [HetHwTest.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [HetPost.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [HetProgram.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Can.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Spi.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    [Std_TypesPd.c]
    Warning #1376-D: (MISRA-C:2004 1.1/R) Ensure strict ANSI C mode (-ps) is enabled
    <Optimizing>
    <Generating>
    <Interlisting>
    <Assembling>
    [Core.asm]
    [ExceptionVecCfg.asm]
    'Finished building: ProjectDefinition.obj'
    ' '
    'Building target: MvMotorControlTMS570.elf'
    'Invoking: TMS470 Linker'
    "C:/Program Files/Texas Instruments/TMS470 Code Generation Tools 4.7.1/bin/cl470" --cmd_file="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Compiler.opt"  -mv7R4 -g -O3 --opt_for_speed=5 --program_level_compile --define=PD18_MHV01 --define=DIAGNOSTIC --define=MOTOR_CONTROL --define=DET_ENABLED --diag_warning=225 --diag_remark=97 --enum_type=packed --elf --abi=eabi --code_state=32 --float_support=VFPv3D16 --plain_char=unsigned --gen_opt_info=2 -k --c_src_interlist --asm_listing -z -m"MvMotorControlTMS570.map" --warn_sections -i"C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\ToolChain\lib" --reread_libs --mapfile_contents=all --generate_dead_funcs_list=dead_funcs.txt --rom_model --be32 --unused_section_elimination=on -o "MvMotorControlTMS570.elf"  "ProjectDefinition.obj" "../ToolChain/lib/Crypt.lib" "../ToolChain/lib/pf035a_api_eabi_vfp.lib" "../ToolChain/lib/rtsv7R4_A_be_v3D16_eabi.lib" "../Linker.cmd" "Core.obj" "ExceptionVecCfg.obj" 
    <Linking>
    
     undefined first referenced     
      symbol       in file          
     --------- ----------------     
     main      ProjectDefinition.obj
    
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "MvMotorControlTMS570.elf" not
       built
    
    >> Compilation failure
    gmake: *** [MvMotorControlTMS570.elf] Error 1
    gmake: Target `main-build' not remade because of errors.
    
    **** Build Finished ****
    
    ___________________________________________________________________________________________________
    DIRECTORY LISTING
    
    C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release>dir /s
     Volume in drive C has no label.
     Volume Serial Number is 3037-29C3
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release
    
    23/02/2012  08:53    <DIR>          .
    23/02/2012  08:53    <DIR>          ..
    23/02/2012  08:52    <DIR>          Ancillary
    23/02/2012  08:53             4,608 ccsCompiler.opt
    23/02/2012  08:52               192 ccsObjs.opt
    23/02/2012  08:52             2,273 ccsSrcs.opt
    23/02/2012  08:53            24,956 Core.lst
    23/02/2012  08:53             6,573 Core.obj
    23/02/2012  08:53               425 dead_funcs.txt
    23/02/2012  08:52    <DIR>          DriverSoftware
    23/02/2012  08:53             2,730 ExceptionVecCfg.lst
    23/02/2012  08:53             2,992 ExceptionVecCfg.obj
    23/02/2012  08:53                12 HetBuildType.tmp
    23/02/2012  08:53             9,931 HetConfig.h
    23/02/2012  08:53             4,310 HetConfig.inc
    23/02/2012  08:53               849 HetHwTest.c
    23/02/2012  08:53             1,392 HetHwTest.h
    23/02/2012  08:53             2,612 HetPost.c
    23/02/2012  08:53             4,187 HetPost.h
    23/02/2012  08:53             7,808 HetProgram.c
    23/02/2012  08:53            10,910 HetProgram.h
    23/02/2012  08:52            11,490 makefile
    23/02/2012  08:52             8,719 motorModel.h
    23/02/2012  08:53           298,040 MvMotorControlTMS570.map
    23/02/2012  08:52               257 objects.mk
    23/02/2012  08:53        11,919,895 ProjectDefinition.asm
    23/02/2012  08:53        18,128,640 ProjectDefinition.lst
    23/02/2012  08:53           477,144 ProjectDefinition.nfo
    23/02/2012  08:53           844,040 ProjectDefinition.obj
    23/02/2012  08:52    <DIR>          ServiceSoftware
    23/02/2012  08:52             2,116 sources.mk
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               490 subdir_vars.mk
    23/02/2012  08:53             1,285 SVNinfo.inc
    23/02/2012  08:53               189 SVNinfo.txt
    23/02/2012  08:52            20,043 ThermLookupTables.h
    23/02/2012  08:52    <DIR>          ToolChain
    23/02/2012  08:53            19,167 TrigLookupTables.h
                  32 File(s)     31,818,564 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\Ancillary
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               388 subdir_vars.mk
                   2 File(s)            677 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52    <DIR>          CommunicationDrivers
    23/02/2012  08:52    <DIR>          ComplexDrivers
    23/02/2012  08:52    <DIR>          InputOutputDrivers
    23/02/2012  08:52    <DIR>          MemoryDrivers
    23/02/2012  08:52    <DIR>          MicrocontrollerDrivers
                   0 File(s)              0 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware\CommunicationDrivers
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               520 subdir_vars.mk
                   2 File(s)            809 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware\ComplexDrivers
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               698 subdir_vars.mk
                   2 File(s)            987 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware\InputOutputDrivers
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               604 subdir_vars.mk
                   2 File(s)            893 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware\MemoryDrivers
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               666 subdir_vars.mk
                   2 File(s)            955 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\DriverSoftware\MicrocontrollerDrivers
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52             1,662 subdir_vars.mk
                   2 File(s)          1,951 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ServiceSoftware
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52    <DIR>          CommunicationServices
    23/02/2012  08:52    <DIR>          InputOutputServices
    23/02/2012  08:52    <DIR>          MemoryServices
    23/02/2012  08:52    <DIR>          SystemServices
                   0 File(s)              0 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ServiceSoftware\CommunicationServices
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               636 subdir_vars.mk
                   2 File(s)            925 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ServiceSoftware\InputOutputServices
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               744 subdir_vars.mk
                   2 File(s)          1,033 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ServiceSoftware\MemoryServices
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               528 subdir_vars.mk
                   2 File(s)            817 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ServiceSoftware\SystemServices
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52             1,428 subdir_vars.mk
                   2 File(s)          1,717 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ToolChain
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52    <DIR>          lib
                   0 File(s)              0 bytes
    
     Directory of C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release\ToolChain\lib
    
    23/02/2012  08:52    <DIR>          .
    23/02/2012  08:52    <DIR>          ..
    23/02/2012  08:52               289 subdir_rules.mk
    23/02/2012  08:52               427 subdir_vars.mk
                   2 File(s)            716 bytes
    
         Total Files Listed:
                  54 File(s)     31,830,044 bytes
                  44 Dir(s)  84,144,320,512 bytes free
    
    C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570\Release>

  • Hi Tony,

    The main difference I see between the two logs is that in the good build case (without program level optimization) the object files are specified to be located in the same folder as where the source resides (instead of the default \Release directory). And as you can see from the build output, each C source file is passed to the compiler shell and built in sequence.

    When building with program_level_compile, as you may be aware, all the source files are passed together to the shell in one step and the compiler creates a single module out of all the C source files and then builds that module. In this case the generated obj, in this case, ProjectDefinition.obj is created in the default \Release directory.

    Since in the good case the object files are going to specific folders, it looks like you have this specified using the option --obj_directory (found under CCS Build->Compiler->Directory Specifier). As a test, could you remove this option so the object files go to default locations and see if that helps resolve the error? You would need to change the Mode at that option dialog to automatic.

     

    In the case where the build fails, the linker is reporting undefined symbol for main. Which source file is main actually defined in?

    Tony Morrell said:

    I don't know how to run the build from the command line, if you can enlighten me, I'll give it a go.

    What you would do here is use the build command as seen in the CCS build console but run it from a command prompt rather than from within CCS. This would help isolate if the issue is coming from the CCS build environment or from the compiler tools.

    Ultimately, it would be best if you could share the project with us so we can reproduce and track down the issue. If you are able to share it, you could even send it to me via private message.

  • Hi Aarti

    AartiG said:
    You would need to change the Mode at that option dialog to automatic

    I already have automatic selected, so I guess that's not the answer!

    AartiG said:
    Which source file is main actually defined in?

    main is in a source file Main.c which is located within the subdirectory excluded from the build (PdMotorControl), and hence the error.

    AartiG said:
    use the build command as seen in the CCS build console

    I'm sorry but I'm being a bit thick here. There isn't an identifiable command that I can see in the CCS build console. Wouldn't this be some sort of makefile that is run? I see in the C/C++ Build window that the build command is ${CCS_INSTALL_ROOT}/utils/gmake/gmake -k. Would it be this I need to run somehow. The makefiles are generated automatically, so how would that work when trying to run it from a command prompt?

    AartiG said:
    it would be best if you could share the project with us

    This would be very difficult to do. Some time ago I did send TI a sanitised project for some other investigation. I don't know if this would exhibit the problem. The bootloader project I have (on which this sanitised project was based) does not exhibit this problem.

    This is an interesting point actually, this bootloader project is very similarly constructed as the failing project we are discussing. It has all the same directory structures, only the missing subdirectory PdMotorControl is replaced by a differently named subdirectory PdBootloader. This bootloader project DOES include PdBootloader and the build runs to completion, including linking. I have attached the two .cproject files for information. Perhaps there is something in these files which shed some light on the problem. I've had a check myself but nothing stood out as obvious.

    <?xml version="1.0" encoding="UTF-8"?>
    <?fileVersion 4.0.0?>
    
    <cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
    	<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.239097709">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.239097709" moduleId="org.eclipse.cdt.core.settings" name="Debug">
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="elf" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.239097709" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postannouncebuildStep="Post-Build command batch file" postbuildStep="&quot;${PROJECT_ROOT}/PostBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName} &quot;${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe&quot;" preannouncebuildStep="Pre-Build command batch file" prebuildStep="&quot;${PROJECT_ROOT}/PreBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName}">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.239097709." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.DebugToolchain.1721680337" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug.1122328768">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1543910475" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex R.TMS570LS20216SZWT"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=be32"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.1"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_be_v3D16_eabi.lib"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1306347801" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="4.7.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformDebug.505722849" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformDebug"/>
    							<builder buildPath="${workspace_loc:/MvBootTMS570/Debug}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderDebug.1039471887" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderDebug"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerDebug.663238087" name="TMS470 Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING.692115064" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.356447455" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.1033454382" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.1879696267" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.1434528165" name="Application binary interface (tiabi, ti_arm9_abi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.eabi" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.1495281242" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF.1341402277" name="Use the ELF object file format (--elf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE.1145970031" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE" valueType="definedSymbols">
    									<listOptionValue builtIn="false" value="PD18_MHV01"/>
    									<listOptionValue builtIn="false" value="BOOTLOADER"/>
    									<listOptionValue builtIn="false" value="DET_ENABLED"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH.1522201618" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Debug}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Ancillary}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/PdBootloader}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/CommunicationDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/ComplexDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/InputOutputDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/MemoryDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/MicrocontrollerDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/CommunicationServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/InputOutputServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/MemoryServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/SystemServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ToolChain/include}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK.392818739" name="Treat diagnostic &lt;id&gt; as remark (--diag_remark, -pdsr)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK" valueType="stringList">
    									<listOptionValue builtIn="false" value="97"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.804793453" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.C_SRC_INTERLIST" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING.1770954456" name="Generate listing file (--asm_listing, -al)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE.64613256" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Compiler.opt}&quot;"/>
    								</option>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS.1274450042" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS.531738453" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS.449619188" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS.1684888743" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug.1122328768" name="TMS470 Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.50094245" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE.1266199141" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.elf&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE.209444424" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH.1746899003" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ToolChain/lib}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST.1119747318" name="List removed dead functions into file (--generate_dead_funcs_list)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST" value="dead_funcs.txt" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS.548700161" name="Display attribute settings in map file (--mapfile_contents)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS" value="all" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.1573719516" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY.1998063976" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
    		</cconfiguration>
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1915733876">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1915733876" moduleId="org.eclipse.cdt.core.settings" name="Release">
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="elf" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1915733876" name="Release" parent="com.ti.ccstudio.buildDefinitions.TMS470.Release" postannouncebuildStep="Post-Build command batch file" postbuildStep="&quot;${PROJECT_ROOT}/PostBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName} &quot;${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe&quot;" preannouncebuildStep="Pre-Build command batch file" prebuildStep="&quot;${PROJECT_ROOT}/PreBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName}">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1915733876." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain.1934160105" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.1421546231">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.137042293" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex R.TMS570LS20216SZWT"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=be32"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.1"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_be_v3D16_eabi.lib"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1855488128" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="4.7.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease.1534254839" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease"/>
    							<builder buildPath="${workspace_loc:/MvBootTMS570/Release}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderRelease.140083325" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderRelease"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease.1191208205" name="TMS470 Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING.176062978" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.1267186852" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.37280776" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.616727983" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.1296440897" name="Application binary interface (tiabi, ti_arm9_abi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.eabi" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.1231765387" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF.1614917131" name="Use the ELF object file format (--elf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.release.727537724" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.release" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.3" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED.1908140336" name="Optimize for speed (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED.5" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE.1854420485" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE" valueType="definedSymbols">
    									<listOptionValue builtIn="false" value="PD18_MHV01"/>
    									<listOptionValue builtIn="false" value="BOOTLOADER"/>
    									<listOptionValue builtIn="false" value="DET_ENABLED"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH.963860082" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Release}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Ancillary}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/PdBootloader}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/CommunicationDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/ComplexDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/InputOutputDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/MemoryDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/DriverSoftware/MicrocontrollerDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/CommunicationServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/InputOutputServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/MemoryServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ServiceSoftware/SystemServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ToolChain/include}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK.973428435" name="Treat diagnostic &lt;id&gt; as remark (--diag_remark, -pdsr)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK" valueType="stringList">
    									<listOptionValue builtIn="false" value="97"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO.173295859" name="Generate optimizer information file at level [0-2] (--gen_opt_info, -on)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO.2" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.2042518819" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.C_SRC_INTERLIST" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING.1857598037" name="Generate listing file (--asm_listing, -al)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE.1001279901" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/Compiler.opt}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PROGRAM_LEVEL_COMPILE.1538106941" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PROGRAM_LEVEL_COMPILE" value="true" valueType="boolean"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS.1992831281" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS.191939604" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS.195364041" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS.72467022" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.1421546231" name="TMS470 Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.1420144359" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE.1781780010" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.elf&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE.1913880900" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH.233490068" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvBootTMS570/ToolChain/lib}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST.2004955540" name="List removed dead functions into file (--generate_dead_funcs_list)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST" value="dead_funcs.txt" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS.590246342" name="Display attribute settings in map file (--mapfile_contents)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS" value="all" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.1758970562" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY.598558806" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
    		</cconfiguration>
    	</storageModule>
    	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    		<project id="MvBootTMS570.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.354340058" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
    	</storageModule>
    	<storageModule moduleId="scannerConfiguration"/>
    </cproject>
    

    <?xml version="1.0" encoding="UTF-8"?>
    <?fileVersion 4.0.0?>
    
    <cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
    	<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2048257991">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2048257991" moduleId="org.eclipse.cdt.core.settings" name="Debug">
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="elf" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2048257991" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postannouncebuildStep="Post-Build command batch file" postbuildStep="&quot;${PROJECT_ROOT}/PostBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName} &quot;${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe&quot;" preannouncebuildStep="Pre-Build command batch file" prebuildStep="&quot;${PROJECT_ROOT}/PreBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName}">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2048257991." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.DebugToolchain.427780757" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug.343553490">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.720803523" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex R.TMS570LS20216SZWT"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=be32"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.1"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_be_v3D16_eabi.lib"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
    								<listOptionValue builtIn="false" value="LINK_ORDER="/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2044162842" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="4.7.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformDebug.1856060429" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformDebug"/>
    							<builder buildPath="${workspace_loc:/MvMotorControlTMS570/Debug}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderDebug.620366236" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderDebug"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerDebug.1280186995" name="TMS470 Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING.989511437" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.691944870" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.227189440" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.166788021" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.1962467455" name="Application binary interface (tiabi, ti_arm9_abi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.eabi" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.922481287" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF.75772918" name="Use the ELF object file format (--elf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE.829290581" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE" valueType="definedSymbols">
    									<listOptionValue builtIn="false" value="PD18_MHV01"/>
    									<listOptionValue builtIn="false" value="DIAGNOSTIC"/>
    									<listOptionValue builtIn="false" value="MOTOR_CONTROL"/>
    									<listOptionValue builtIn="false" value="DET_ENABLED"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH.3595528" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/Debug}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/Ancillary}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/PdMotorControl}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/CommunicationDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/ComplexDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/InputOutputDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/MemoryDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/MicrocontrollerDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/CommunicationServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/InputOutputServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/MemoryServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/SystemServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ToolChain/include}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK.1294467111" name="Treat diagnostic &lt;id&gt; as remark (--diag_remark, -pdsr)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK" valueType="stringList">
    									<listOptionValue builtIn="false" value="97"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.130236842" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.C_SRC_INTERLIST" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE.108832273" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/Compiler.opt}&quot;"/>
    								</option>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS.1977880041" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS.87785446" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS.152930908" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS.768552463" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug.343553490" name="TMS470 Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.1044842719" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE.1129154599" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.elf&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE.262329513" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH.1930498615" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ToolChain/lib}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST.1567133692" name="List removed dead functions into file (--generate_dead_funcs_list)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST" value="dead_funcs.txt" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS.1273395711" name="Display attribute settings in map file (--mapfile_contents)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS" value="all" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY.175683779" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    		</cconfiguration>
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1350484033">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1350484033" moduleId="org.eclipse.cdt.core.settings" name="Release">
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="elf" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1350484033" name="Release" parent="com.ti.ccstudio.buildDefinitions.TMS470.Release" postannouncebuildStep="Post-Build command batch file" postbuildStep="&quot;${PROJECT_ROOT}/PostBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName} &quot;${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe&quot;" preannouncebuildStep="Pre-Build command batch file" prebuildStep="&quot;${PROJECT_ROOT}/PreBuild.bat&quot; ${BuildArtifactFileBaseName} ${ConfigName}">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1350484033." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain.91865231" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.854094207">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.731319536" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex R.TMS570LS20216SZWT"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=be32"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.1"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_be_v3D16_eabi.lib"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.121649843" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="4.7.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease.223090088" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease"/>
    							<builder buildPath="${workspace_loc:/MvMotorControlTMS570/Release}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderRelease.2056717403" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.builderRelease"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease.1720955749" name="TMS470 Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING.1883802735" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.297859732" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CODE_STATE.32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.287926988" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.567063525" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.757393491" name="Application binary interface (tiabi, ti_arm9_abi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ABI.eabi" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.38341877" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF.171455813" name="Use the ELF object file format (--elf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ELF" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.release.652604989" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.release" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_LEVEL.3" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED.2025826657" name="Optimize for speed (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.OPT_FOR_SPEED.5" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE.584050025" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DEFINE" valueType="definedSymbols">
    									<listOptionValue builtIn="false" value="PD18_MHV01"/>
    									<listOptionValue builtIn="false" value="DIAGNOSTIC"/>
    									<listOptionValue builtIn="false" value="MOTOR_CONTROL"/>
    									<listOptionValue builtIn="false" value="DET_ENABLED"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH.773259828" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/Release}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/Ancillary}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/PdMotorControl}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/CommunicationDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/ComplexDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/InputOutputDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/MemoryDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/DriverSoftware/MicrocontrollerDrivers}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/CommunicationServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/InputOutputServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/MemoryServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ServiceSoftware/SystemServices}&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ToolChain/include}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK.2019241077" name="Treat diagnostic &lt;id&gt; as remark (--diag_remark, -pdsr)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DIAG_REMARK" valueType="stringList">
    									<listOptionValue builtIn="false" value="97"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PLAIN_CHAR.420701247" name="Specify how to treat plain chars (signed/unsigned) (--plain_char)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PLAIN_CHAR" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PLAIN_CHAR.unsigned" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO.137451155" name="Generate optimizer information file at level [0-2] (--gen_opt_info, -on)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_OPT_INFO.2" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.KEEP_ASM.1526275583" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.KEEP_ASM" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.638651816" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.SOURCE_INTERLIST.C_SRC_INTERLIST" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING.466927604" name="Generate listing file (--asm_listing, -al)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ASM_LISTING" value="true" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE.1309839558" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.CMD_FILE" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Compiler.opt}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.VERBOSE_DIAGNOSTICS.1129544004" name="Verbose diagnostics (--verbose_diagnostics, -pdv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.VERBOSE_DIAGNOSTICS" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_AUX_USER_INFO.205577376" name="Generate user information file (--gen_aux_user_info, -b)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.GEN_AUX_USER_INFO" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.WRITE_DIAGNOSTICS_FILE.612989883" name="Output diagnostic to .err file (--write_diagnostics_file, -pdf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.WRITE_DIAGNOSTICS_FILE" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DISPLAY_ERROR_NUMBER.2087829539" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.DISPLAY_ERROR_NUMBER" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.NO_WARNINGS.1899381702" name="Suppress warnings (--no_warnings, -pdw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.NO_WARNINGS" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ISSUE_REMARKS.1782145567" name="Issue remarks (--issue_remarks, -pdr)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.ISSUE_REMARKS" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.TOOL_VERSION.1964052794" name="Print version numbers for each tool (--tool_version, -version)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.TOOL_VERSION" value="false" valueType="boolean"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PROGRAM_LEVEL_COMPILE.1693033072" name="Program mode compilation (--program_level_compile, -pm)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compilerID.PROGRAM_LEVEL_COMPILE" value="true" valueType="boolean"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS.847128175" multipleOfType="true" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS.1139332724" multipleOfType="true" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS.884903750" multipleOfType="true" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS.1380396008" multipleOfType="true" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.854094207" name="TMS470 Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.38701841" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE.998218415" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.elf&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE.1205708194" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH.84659349" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/MvMotorControlTMS570/ToolChain/lib}&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST.466137526" name="List removed dead functions into file (--generate_dead_funcs_list)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.GENERATE_DEAD_FUNCS_LIST" value="dead_funcs.txt" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS.1951146271" name="Display attribute settings in map file (--mapfile_contents)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.MAPFILE_CONTENTS" value="all" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.177458521" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
    								<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY.1247052931" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.linkerID.LIBRARY"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.1350484033.163410565" name="/" resourcePath="PdMotorControl">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain.485720972" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.ReleaseToolchain" unusedChildren="">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.731319536.704521814" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.731319536"/>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.121649843.1825140324" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.121649843"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.targetPlatformRelease"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease.1726612998" name="TMS470 Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.compilerRelease.1720955749">
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS.1231016097" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS.898678461" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS.1941849120" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS.2112353667" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.140165587" name="TMS470 Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.7.exe.linkerRelease.854094207"/>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    		</cconfiguration>
    	</storageModule>
    	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    		<project id="MvMotorControlTMS570.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.1324934386" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
    	</storageModule>
    	<storageModule moduleId="scannerConfiguration"/>
    </cproject>
    

    As an aside, I do get warning 'warning #10247-D: creating output section ".issues" without a SECTIONS specification'. What is this section ".issues"?

    Regards, Tony.

  • Tony,

    The key here is that Main.c is not being passed as an input source file to the build when program_level_compile is enabled for some reason. But at this point I don't know why.

    Could you attach the Compiler.opt file (should be in C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\Trunk\MvMotorControlTMS570) and ccsCompiler.opt file (should be in the \Debug or \Release folder)? Both these files are passed to the build command, and maybe they will give some clues as to what is happening.

    Can you also double-check in your Project Explorer view that Main.c is not excluded from build in the case of the non-working build? I suspect that this should be fine but wouldn't hurt to make sure.

    Tony Morrell said:

    As an aside, I do get warning 'warning #10247-D: creating output section ".issues" without a SECTIONS specification'. What is this section ".issues"?

    That is not a section auto generated by the compiler. Are you sure none of your source files have such a section defined?

  • Hi Aarti,

    Please excuse my tardy response, things are a little busy at the moment.

    Attached are the files you requested. The ccsCompiler.opt file does not contain any of the files from subdirectory PdMotorControl. I have verified that Main.c is not excluded from the build.

    Regards, Tony

    /*------------------------------------------------------------------------------
    **| Project   ProteanDrive
    **|
    **| Unit      Project
    **/
    /** \file     Compiler.opt
    ***
    *** \author   Tony Morrell
    ***
    ***           Project specific compiler command file
    ***
    *** \par      Copyright (c) 2010 Protean Electric Limited
    *//*--------------------------------------------------------------------------*/
    
    /*----------------------------------------------------------------------------*/
    /* MISRA exclusions                                                           */
    
    --check_misra=all,-10.1,-5.6,-5.7,-19.15,-6.1,-6.2,-9.2,-9.3,-10.6,-14.7,-17.6
    --display_error_number

    --cmd_file="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\Compiler.opt" 
    -mv7R4 
    -g 
    -O3 
    --opt_for_speed=5 
    --program_level_compile 
    --define=PD18_MHV01 --define=DIAGNOSTIC --define=MOTOR_CONTROL --define=DET_ENABLED 
    --include_path="C:/Program Files/Texas Instruments/TMS470 Code Generation Tools 4.7.1/include" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\Release" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\Ancillary" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\PdMotorControl" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\DriverSoftware\CommunicationDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\DriverSoftware\ComplexDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\DriverSoftware\InputOutputDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\DriverSoftware\MemoryDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\DriverSoftware\MicrocontrollerDrivers" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\ServiceSoftware\CommunicationServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\ServiceSoftware\InputOutputServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\ServiceSoftware\MemoryServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\ServiceSoftware\SystemServices" --include_path="C:\Documents and Settings\tony.morrell\My Documents\work\PD_MV\SpiSeqErr\MvMotorControlTMS570\ToolChain\include" 
    --diag_warning=225 
    --diag_remark=97 
    --enum_type=packed 
    --elf 
    --abi=eabi 
    --code_state=32 
    --float_support=VFPv3D16 
    --plain_char=unsigned 
    --gen_opt_info=2 
    -k 
    --c_src_interlist 
    --asm_listing 
    "../ProjectDefinition.c" "../Compiler.opt" "../ServiceSoftware/SystemServices/Crc.c" "../ServiceSoftware/SystemServices/Dem.c" "../ServiceSoftware/SystemServices/Det.c" "../ServiceSoftware/SystemServices/Filter.c" "../ServiceSoftware/SystemServices/Img.c" "../ServiceSoftware/SystemServices/Log.c" "../ServiceSoftware/SystemServices/ResourceMonitor.c" "../ServiceSoftware/SystemServices/Sys_Init.c" "../ServiceSoftware/SystemServices/Timer.c" "../ServiceSoftware/SystemServices/Trig.c" "../ServiceSoftware/SystemServices/Utilities.c" "../ServiceSoftware/SystemServices/Watchdog.c" "../ServiceSoftware/MemoryServices/Calibration.c" "../ServiceSoftware/MemoryServices/IdVersion.c" "../ServiceSoftware/InputOutputServices/Alarm.c" "../ServiceSoftware/InputOutputServices/Analogue.c" "../ServiceSoftware/InputOutputServices/Pulse.c" "../ServiceSoftware/InputOutputServices/Thermistor.c" "../ServiceSoftware/CommunicationServices/Com.c" "../ServiceSoftware/CommunicationServices/Com_Cfg.c" "../ServiceSoftware/CommunicationServices/Xcp.c" "../DriverSoftware/MicrocontrollerDrivers/Core.asm" "../DriverSoftware/MicrocontrollerDrivers/DieId.c" "../DriverSoftware/MicrocontrollerDrivers/Esm.c" "../DriverSoftware/MicrocontrollerDrivers/ExceptionVecCfg.asm" "../DriverSoftware/MicrocontrollerDrivers/ExceptionVecHandler.c" "../DriverSoftware/MicrocontrollerDrivers/Gpt.c" "../DriverSoftware/MicrocontrollerDrivers/HwCrc.c" "../DriverSoftware/MicrocontrollerDrivers/Nmi.c" "../DriverSoftware/MicrocontrollerDrivers/Registers.c" "../DriverSoftware/MicrocontrollerDrivers/Startup.c" "../DriverSoftware/MicrocontrollerDrivers/Stc.c" "../DriverSoftware/MicrocontrollerDrivers/Vim.c" "../DriverSoftware/MemoryDrivers/Dma.c" "../DriverSoftware/MemoryDrivers/Emif.c" "../DriverSoftware/MemoryDrivers/Flash.c" "../DriverSoftware/MemoryDrivers/Pbist.c" "../DriverSoftware/InputOutputDrivers/Adc.c" "../DriverSoftware/InputOutputDrivers/Dio.c" "../DriverSoftware/InputOutputDrivers/Pwm.c" "../DriverSoftware/ComplexDrivers/Het.c" "../DriverSoftware/ComplexDrivers/HetHwTest.c" "../DriverSoftware/ComplexDrivers/HetPost.c" "../DriverSoftware/ComplexDrivers/HetProgram.c" "../DriverSoftware/CommunicationDrivers/Can.c" "../DriverSoftware/CommunicationDrivers/Spi.c" "../Ancillary/Std_TypesPd.c" 

  • Hi Tony,

    If the addition of the program_level_compile is, for some reason, eliminating the source files in PdMotorControl then that looks like a bug to me.

    I did want to re-iterate that it seems like you are using an early pre-release build of CCS 5.1. Since we've made many bug fixes and updates since then, I would highly recommend updating to, at a minimum the final 5.1 release (5.1.0.09000), and if possible, the latest 5.1.1.
    http://processors.wiki.ti.com/index.php/Download_CCS

    To take this further though we would really need a reproducible test case that we can analyze. I know you said you couldn't send your project but is there possibly a cutdown project that can be made to demonstrate the issue?

  • Hi Aarti,

    I've just installed CCS 5.1.1.00031 and tried the program level compile option. Unfortunately I get exactly the same problem as with CCS 5.1.0.

    I will endeavour to get you a sanitised build.

    I will also try to determine why my other project which is very, very similar in structure, builds with no problem. I will do a compare of pertinent files.

    Best regards, Tony.

  • Hi Aarti,

    I've just spotted a clue which might shed some light on my problem.

    In the Project Explorer pane, the sub-directory that is not included by my build (PdMotorControl) has a little key icon displayed against it, whereas the equivalent sub-directory in my successful build (PdBootloader) does not. What does this mean?

    See attached image.

    Regards, Tony

  • Tony Morrell said:

    In the Project Explorer pane, the sub-directory that is not included by my build (PdMotorControl) has a little key icon displayed against it, whereas the equivalent sub-directory in my successful build (PdBootloader) does not. What does this mean?

    That icon means that there are file specific build options set for one or more files in that directory. If you expand the folder, are there specific files within the folder that have that icon? If so, I would suggest closely checking them to see if they indeed have some file specific options set and if they are necessary.

    There is one known bug though where CCS incorrectly sets this icon even when there are no file specific build options set. This happens if you right-click on a source file in a project, go into Properties (or Build Options) and simply click OK (instead of Cancel). It then sets the icon that indicates file specific options have been set even when none have been set. To restore the file back to default settings you can right-click on the file, go to Resource Configurations->Reset to Default.

  • Hi Aarti,

    Thanks so much for that. The key icon does not appear against any of the files within that folder. I cleared the flag as you suggested, by resetting the Resource Configuration back to defaults and now my project builds to completion, sub-directory PdMotorControl is now included in the build.

    TI might like to investigate why this causes the build to fail in the first place, but for me, the post can be closed.

    Best regards, Tony.