Tool/software: Code Composer Studio
As you can the it need #include "F28x_Project.h"
So to include that header I go to. Proyect->Properties and in CCS Build->C2000 Compiler->Include Option and in Add dir to #include search path (--include_path, -l)
I include the paths:
C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_headers\include
and
C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_common\include
As you can see here
But when I press Build 'Debug' I get this error messages:
**** Build of configuration Debug for project PruebaBlinking ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
'Building file: ../main.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/Users/julia/Documents/PruebaBlinking" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_headers/include" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v210/F2837xS_common/include" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d" "../main.c"
'Finished building: ../main.c'
' '
'Building target: PruebaBlinking.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"PruebaBlinking.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="PruebaBlinking_linkInfo.xml" --rom_model -o "PruebaBlinking.out" "./main.obj" "../28377S_FLASH_lnk.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_F28x_usDelay ./main.obj
_GPIO_SetupPinMux ./main.obj
_GPIO_SetupPinOptions ./main.obj
_GPIO_WritePin ./main.obj
_InitGpio ./main.obj
_InitPieCtrl ./main.obj
_InitPieVectTable ./main.obj
_InitSysCtrl ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "PruebaBlinking.out" not built
>> Compilation failure
makefile:141: recipe for target 'PruebaBlinking.out' failed
gmake[1]: *** [PruebaBlinking.out] Error 1
gmake: *** [all] Error 2
makefile:137: recipe for target 'all' failed
**** Build Finished ****
What I'm missing? an include? Please help me with this.