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.

TMS320F28P650DK: GPIO_WRITEPIN undefiined symbol

Part Number: TMS320F28P650DK

Tool/software:

HI TI experts,

I'm working on a project provided in TI MCSDK,  it was working well and i tried to toggle a GPIO pin through CLATASK for which i,ve configured the control of GPIO pin to CLA, and it was toggling. everything was going well. then I replaced the GPIO_TOGGLEPIN() with GPIO_WRITEPIN() and all of sudden everything stopped working, no interrupts no output nothing. and then I commented the gpio line and now im facing below error  which is not cla file but is a main source code C file which was working fine before.

undefined                             first referenced
symbol                                 in file
---------                            ----------------
GPIO_WritePin            ./sources/fcl_f28p65x_tmdxiddk_cpu1.obj

NOTE:

1) driverlib.h and driverlib.lib everything is included, paths included, and even I can see the definition. GPIO_WRITEPIN is a static inline function which should be inlined (ive kept optimization at all levels 0-5) but I can see the function name in GLOBAL SYMBOLS section of .map file which I guess should not be there if it is inlined. correct me if I'm wrong. 

2) #PRAGMA FUNC_ALWAYS_INLINE didn't helped at optimization level 0.

Even after manually adding include"gpio.h" this error persists. 

any insights would be much helpful.

Thanks & Regards

 Raghu