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:
Hi, is there a way to link files out of the project folder in CCS Theia IDE.
A100_OLED_TEST is the main project folder
and I would like to call function,"APPL_Init()", in a file"Appl_Init.c" within "Appl" folder from "a100_oled_main.c" file.
So I just added that "Appl" folder to a workspace.
But when I called the function, it popped "undefined symbol" error even though I have included "Appl_Init.h" which includes function declaration of "APPL_Init()" function header as well.
this is a100_oled_main.c
and this is the error.
Thanks in advance.
Hello,
I am sending your thread over to the MSP team. Please ping the thread if you do not get a response within a couple of business days.
Regards,
Nick
Hi Anthony,
Did you include the file path for the files in the ARM Compiler include options? (This is under project properties)
Since these files are outside the scope of the project root it will need a path to find them.
Regards,
Luke
Hi Luke,
Thanks for the reply.
I just added the directory of these files under Compiler Include Options. But I still got the same error.
Hi Anthony,
If these files are not in library format then they will need to be added into the project for the compiler to recognize the path. (This will make the path change).
If the files are in library format (has the .a file ending) then adding it into the Arm Linker include options allow the compiler to find the path.
Regards,
Luke
Hi Luke,
noted and thanks. So the files outside of the project scope can be recognized only if they are in library format. Am I correct?
Thanks again for the quick response.
Hi Anthony,
That is my understanding of the process, I'll forward this to the Code Composer Team to verify that I am not missing any potential option in Theia.
Regards,
Luke
Hi, is there a way to link files out of the project folder in CCS Theia IDE.
Please note that linked files/folders are not fully supported in current CCS Theia versions. The upcoming 1.5 release (end of the month) will have full support.
So I just added that "Appl" folder to a workspace.
Please note that this action may not be doing what you think it is doing. You are not adding this folder to the project so that it is accessible to the project.
You may need to wait until 1.5 to fully do what you wish to do. Otherwise you should have the folder added to the project.