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.

TMS320F28379D: Creating a CCS Project with multiple .c files

Part Number: TMS320F28379D


Hello experts,

I have created a project with multiple c files. I kept all the global variable declarations in a single file but definitions in respective .c files. I see that the variables are not initializing to the value assigned during definition.

If I create the respective .h file for each .c file and include the header file in the required .c files, I am getting multiple declaration errors.

I want to know, How to create a project which has many .c and their respective .h files and every .c file has global variables and how to access those variables in other .c files?

Regards

Vishal