This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Why cannot the CCS compiler find a driver header file?
In one of my code files I include the following file:
#include <ti/drivers/UART.h>
If I Ctrl-Click on the file name CCS appropriately opens the file. However when I go to compile it gives the #1965 error that it cannot find that file.
The include is automatically handled by the RTOS and expands to:
"C:/ti/tirtos_c2000_2_16_01_14/products/tidrivers_c2000_2_16_01_13/packages"
The full path of the file is:
"C:\ti\tirtos_c2000_2_16_01_14\products\tidrivers_c2000_2_16_01_13\packages\ti\drivers\UART.h"
If I expand out the tree under the includes I can locate the appropriate file as well.
John Wolgemuth68 said:or at least incomplete implementation of a feature
Yes, you are right. Long story short, it was a planned new behavior that was eventually decided that it was not needed... for now. At the very least it is confusing. I'll need to follow up on what the future plans for this is.
Yes, the forum is the right place to report all bugs.
Thanks
ki
So this resolved the header issue but now I get:
undefined first referenced
symbol in file
--------- ----------------
GPIO_init C:/Users/.../workspace_v7_test/md.wdmp.M3.board.A00389/Release/md.wdmp.M3.board.A00389.lib<pinout.obj>
UART_init C:/Users/.../workspace_v7_test/md.wdmp.M3.board.A00389/Release/md.wdmp.M3.board.A00389.lib<pinout.obj>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "md.wdmp.M3.out" not built
>> Compilation failure
makefile:157: recipe for target 'md.wdmp.M3.out' failed
gmake[1]: *** [md.wdmp.M3.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
makefile:146: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
How can I associate the C files that are in the driver libraries?