Hi,
We have a project in CCS v3.1 for a TMS320F2812 target and trying to migrate to the latest set of tools, including CCS v6. I used the "Import Legacy CCv3.3 Projects..." option under the "Project" menu. The file structure seems to have imported fine, but I am encountering problems with the build process.
1. Clean build doesn't remove all the object files that were generated. Instead, it removes only selected files. In the console window, I see:
""c:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
DEL /F "lib\Flash2812_API_V210.exe" "pt.out" "pt.hex""
How would I edit this list of objects?
2. Building the project fails at the linking step.
"'Invoking: C2000 Linker'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.7/bin/cl2000" -v28 -ml -mt -O3 --opt_for_speed=4 --program_level_compile --define="PWM_002" --define="PT200I12H" --define="LARGE_MODEL" --display_error_number --issue_remarks --diag_wrap=off --call_assumptions=0 --auto_inline=5 -z -m"pt.map" --stack_size=0x0600 --warn_sections -i"c:/ti/ccsv6/tools/compiler/c2000_6.2.7/lib" -i"c:/ti/ccsv6/tools/compiler/c2000_6.2.7/include" -i"C:/Users/tkrajave/workspace_v6_0/iTRAK_PWM_DSP" -i"C:/Users/tkrajave/workspace_v6_0/Debug" -i"../lib" --reread_libs --display_error_number --diag_wrap=off --xml_link_info="iTRAK_PWM_DSP_linkInfo.xml" --absolute_exe --rom_model -o "pt.out" "../Cmd/pt_Common.cmd" "../Cmd/pt_Flash.cmd" "./DSP28_Spi.obj" "../lib/Flash2812_API_V210.lib" "./DSP281x_CSMPasswords.obj" "./pt_CodeStartBranch.obj" "./pt_DelayUs.obj" "./pt_Flash281x_CsmKeys.obj" "./pt_Passwords.obj" -l"libc.a"
<Linking>
remark #10205-D: automatic RTS selection: linking in "rts2800_ml.lib" in place of index library "libc.a"
"C:\\Users\\tkrajave\\AppData\\Local\\Temp\\123323", line 22: error #10008-D:
cannot find file "./DSP281x_CSMPasswords.obj""
The object file that it is not able to find is one of the objects that are not needed for the project, and are hence excluded the from the build. I am not sure how the object name turned out to be a part of the linker command. How would I edit the linker command, so that the files I do not want aren't included?
Let me know if you need any more details about the project.
Thanks & Regards,
Tamil