Part Number: EVMK2H
Tool/software: TI C/C++ Compiler
Hey all,
I know this might be a bit of a dumb issue but i cant figure out how to properly add CSL / references into my baremetal project. My CCSv8 installation does not have the hello world example in bare metal that the example projects i read online easily compile, nor does the workstation I use have an internet connect. I'm not sure if the hello world project comes with the correct CSL paths to the project. How would you add the CSL into your project starting from scratch, starting with nothing but a main function.
It doesn't make sense why CCS wouldn't see the .h files if they are included in the search paths. Is there a setting somewhere that I missed? Also how would I reference the .C files that go along with the appropriate modules for the CSL. Mainly interested in using the Arm Processors
Here are some screenshots of my set up along with output from the compiler
Build Output:
**** Build of configuration Debug for project BARE_METAL_V3 ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../main.c"
Invoking: GNU Compiler
"C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=softfp -mfpu=vfpv4-d16 -I"C:/Users/Freddy/workspace_v8/BARE_METAL_V3" -I"C:/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -I"C:/ti/pdk_k2hk_4_0_9/packages/ti/csl" -I"C:/ti/pdk_k2hk_4_0_9/packages/ti/csl/arch" -I"C:/ti/pdk_k2hk_4_0_9/packages/ti/csl/arch/a15" -I"C:/ti/pdk_k2hk_4_0_9/packages/ti/csl/arch/a15/V0" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c"
subdir_rules.mk:9: recipe for target 'main.o' failed
../main.c:1:10: fatal error: ti/csl/csl.h: No such file or directory
#include <ti/csl/csl.h>
^~~~~~~~~~~~~~
compilation terminated.
gmake: *** [main.o] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Here are the includes that are present in my compiler flags.
This is what i added on the general to add the paths to the flags