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.

Trouble with ti-rtos driver libs

Other Parts Discussed in Thread: SYSBIOS

Hi all,

    I use Ti-RTOS for tivaC in ccs 6.1.2. I transplant a UA-Network procedure in my project.I find that some unresolved functions(due to lack of functional entity ).The fucntion external declaration can be found and relevant driver module  are add in my .cfg files.The fucntions as below: clock_gettime(), gettimeifday(),fcntl(),gethostbyname(),alloca().How can I solve the erros?

  • Hi Nancy,

    What version of TI-RTOS are you using?  What device are you using, TivaC?  If so, are you using the TI toolchain, or GCC?  TI-RTOS has a clock_gettime() implementation based on the SYS/BIOS Clock module.  You need to add the following line to your .cfg file to get this:

    xdc.useModule('ti.sysbios.posix.Settings');

    Then #include <ti/sysbios/posix/pthread.h> in your source file to get the header files you'll need.

    For the other unresolved functions, you can just implement your own.

    Best regards,

        Janet