Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Recently, our project compilation and build times have sky rocketed, for project which used to take 1-2min now takes 40-45mins to build. As soon as a clean build project is started CCS gets stuck at
Building Project(s): Invoking Command: C:\\ti\\ccsv8\\utils\\bin\\gmake -k -j 6 all -O
The attached screen capture shows that state along with the CPU monitor, there is little to no activity and plenty of memory available. We are using the 'External builder' (gmake) option for C/C++ Builds.
CCS Version: 8.3.0.00009
Compiler Version: TI v18.1.3.LTS
CCS Automatic updates have been disabled along with disbaling the CCS error reporting on startup.
However if we try to build the project using the Internal Build option on the C/C++ Build properties the project builds faster but has some linking errors and claims missing lib filenames. So we tried building one of the example from C2000Ware device support, which also did not build using the Internal Build option. However it builds fine with the default option of External Builder. Attached capture shows the error I get using the Internal Builder
Console Output:
11:33:47 **** Incremental Build of configuration Debug for project Example_2803xGpioToggle ****
Info: Internal Builder is used for build
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_CodeStartBranch.asm"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet -z -mExample_2803xGpioToggle.map --stack_size=0x200 --warn_sections -iC:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/lib -iC:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include -iC:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/examples/c28/gpio_toggle -iC:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/lib -iC:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/lib --reread_libs --issue_remarks --verbose_diagnostics --xml_link_info=Example_2803xGpioToggle_linkInfo.xml --entry_point=code_start --rom_model -o Example_2803xGpioToggle.out %.obj %.obj %.obj %.obj %.obj %.obj %.obj %.obj "..\\..\\..\\..\\common\\cmd\\28035_RAM_lnk.cmd" "..\\..\\..\\..\\headers\\cmd\\DSP2803x_Headers_nonBIOS.cmd" "-l\\rts2800_ml.lib\\" "-l\\IQmath.lib\\"
"C:\\Users\\engineer\\AppData\\Local\\Temp\\{A7FE05A4-F805-426F-8925-623D0577DB4E}", line 25: error:
remark: Automatic library building has been disabled due to previous errors.
expecting filename, option, MEMORY, or SECTIONS instead of "%"
%.obj
error: cannot find file "\rts2800_ml.lib\"
error: cannot find file "\IQmath.lib\"
fatal error: no input files
>> Compilation failure
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_usDelay.asm"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\headers\\source\\DSP2803x_GlobalVariableDefs.c"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_SysCtrl.c"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_PieVect.c"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_PieCtrl.c"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\..\\..\\..\\common\\source\\DSP2803x_DefaultIsr.c"
"C:\\ti\\ccsv8\\tools\\compiler\\ti-cgt-c2000_18.1.3.LTS\\bin\\cl2000" -v28 -ml -mt --cla_support=cla0 --include_path=C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/headers/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2803x/common/include --include_path=C:/ti/c2000/C2000Ware_1_00_05_00/libraries/math/IQmath/c28/include --define=_DEBUG --define=LARGE_MODEL -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet "..\\Example_2803xGpioToggle.c"
11:33:54 Build Finished (took 7s.163ms)
Can anyone from community guide us, if we are missing any configuration parameters while using the Internal Builder? Why the External Builder suddenly became slow? We have tried fresh install of CCSv8.3 with no luck. Also the slow builds is not repeatable on all computers with same hardware, same version installs and setup. The slow builds are really a concern for us and its pushing our Development Cycle to the deadlines. Let me know if anyone needs more info on the above issues.
