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.
Tool/software: Code Composer Studio
Hello CCS Experts!
I have a customer looking at CCS for the first time. As he is working through some of the SimpleLink Academy example codes he is struggling to under why "F3" sometimes take you to a definition and sometimes just a declaration. I have pasted below his questions:
Customer is struggling with CCS user interface because deciphering driver API and HAL middleware would be easier if the source code function definitions are accessible instead of just the function declarations.
Problem statement: F3 finds function declaration.
Desired Solution statement: F3 finds function definition.
Modified solution: Add include file.c for each file.h Example: #include "driverlib/sysctl.c"
Question:
Q1: How to make the modified solution below work consistently?
Q2: What changed to the project that makes F3 work? (Find function definition, not declaration)
Q3: When importing project, is there some setting that enable F3 to find definition? Such as copy all source code to project directory instead of references?
I thank you in advance for taking a look at this!
Best regards,
Reed
Reed,
This is actually a functionality of Eclipse that we inherited in CCS. There is only a single F3 which jumps to definition or declaration depending on the context. There isn't a setting as such that can change this.
This post has some more detail about how it works. Hope this helps.