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.

MSPM0G3507: SDK routines: Cannot find the definition of function in CCS

Part Number: MSPM0G3507

Tool/software:

I use SDK routines in CCS, but many functions can't jump to their definition unless I find its location in the header file in my own.

For example, in event_input_triggers_output_LP_MSPM0G3507_nortos_ticlang, if I want to see the definition of function DL_SYSCTL_enableSleepOnExit, an error alert pops up in the bottom left corner.

This problem also occurs in other IDE (Keil/IAR), where there is no way to jump to the function definition.

  • Hello Xuan, 

    You can try to delete the "debug" folder and build it again and then to check the definition of this function such as using "ctrl+ click left button of mouse" on CCS.

    Best Regards,

    Janz Bai

  • Hi Janz,

    I successfully solved the problem in CCS by the way you said, Thank you.

    Just curious, why is it necessary to delete the "debug" folder and rebuild it after building it once?

    In addition, how should I operate in other IDE.

    In IAR, for example, I can't go to definition of "delay_cycles".

    In Keil, about SDK routines, I can't go to definition of most functions after I build it. 

    Regards,

    Xuan

  • Hello Xuan,

    In some case, the .h file may use "ifdef...endif" which means that if you have completing building it, the next time it won't be build again. It maybe cause that you can't go to definition of some functions after you have built many times. 

    In IAR and Keil, you can also try to delete the debug file and then "click right button of mouse", you will find the "go to the definition of.. ..."

    Best Regards,

    Janz Bai