Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE
Hi,
I'm new to C2000 F28379D Launchpad and I'm trying to write some code for my project on the launchpad. However, I'm getting an unresolved symbol linking error for the F28x_usDelay, and I don't know what I'm missing here. The details of the error are as follows:
**** Build of configuration CPU1_RAM for project empty_driverlib_project ****
"C:\\ti\\ccs1020\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../empty_driverlib_main.c"
Invoking: C2000 Compiler
"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/include" --include_path="C:/CCS_Workspace_1/empty_driverlib_project" --include_path="C:/CCS_Workspace_1/empty_driverlib_project/device" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/include" --advice:performance=all --define=_DUAL_HEADERS --define=_LAUNCHXL_F28379D --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="empty_driverlib_main.d_raw" "../empty_driverlib_main.c"
Finished building: "../empty_driverlib_main.c"
Building target: "empty_driverlib_project.out"
Invoking: C2000 Linker
"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --advice:performance=all --define=_DUAL_HEADERS --define=_LAUNCHXL_F28379D --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"empty_driverlib_project.map" --stack_size=0x100 --warn_sections -i"C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/cmd" -i"C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/common/cmd" -i"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/lib" -i"C:/ti/ccs1020/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="empty_driverlib_project_linkInfo.xml" --entry_point=code_start --rom_model -o "empty_driverlib_project.out" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./empty_driverlib_main.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "../2837xD_RAM_lnk_cpu1.cmd" "C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" -l"C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
F28x_usDelay ./empty_driverlib_main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "empty_driverlib_project.out" not built
>> Compilation failure
makefile:156: recipe for target 'empty_driverlib_project.out' failed
gmake[1]: *** [empty_driverlib_project.out] Error 1
makefile:152: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
I'm not sure what is going on as I have included the necessary paths in project properties as well. Could anyone please help me out here? I'm really stuck.