Part Number: CC2640R2F
Tool/software: Code Composer Studio
Hi,
Im trying to integrate an TI-RTOS SPI interface protocol into the Simple peripheral project, to read data from a sensor by adapting the example given in resource explorer(spislave).
I created a separated Task and included the necessary header files into the project, however now im getting the following Linking error:
<Linking>
undefined first referenced
symbol in file
--------- ----------------
pthread_attr_init <whole-program>
pthread_attr_setdetachstate <whole-program>
pthread_attr_setschedparam <whole-program>
pthread_attr_setstacksize <whole-program>
pthread_create <whole-program>
sem_init <whole-program>
sem_post <whole-program>
sem_wait <whole-program>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "simple_peripheral_cc2640r2lp_app.out" not built
>> Compilation failure
makefile:187: recipe for target 'simple_peripheral_cc2640r2lp_app.out' failed
gmake[1]: *** [simple_peripheral_cc2640r2lp_app.out] Error 1
gmake: *** [all] Error 2
makefile:180: recipe for target 'all' failed
**** Build Finished ****
Can someone explain how to solve this or maybe give a hint what this error is about? Thanks.