Include ti-lib.h in Contiki-ng

How do i include ti-lib.h in Contiki-ng, I am working with a CC1312 from Texas Instruments. I use Code Composer Studio.

And I can not use: #include "ti-lib.h" or #include "path/ti-lib.h"

I need some macros that has not been implemented in Contiki-ng, but exist in the drivers from TI

>Solution :

Most likely you haven ‘t linked the library to your project , so it doesn ‘t work. In the "Include Options" tab, add the path to the directory containing the ti-lib.h file to the "Include paths (-I)" field.

Leave a Reply