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.
Hi.
I'm trying to implement CLA to my projekt. In file.cla there are these includes :
#include "DSP28x_Project.h"
#include XSTRINGIZE(XCONCAT(TEST_NAME,_shared.h))
after build is finished, there are some errors:
Invalid preprocessor directive: #include XSTRINGIZE(XCONCAT(TEST_NAME,_shared.h))
and
- #13 expected a file name
I don't understand why, because i have defined TEST_NAME in properties: --define=TEST_NAME=D040060ccs5
Other problem is this declaration: extern__cregister volatile unsigned intIFR; extern__cregister volatile unsigned int IER; in DSP2803x_Device.h when the .CLA file is compiled. the errors are: error #838: unrecognized cregister name 'IFR' , error #838: unrecognized cregister name 'IER' and error #658-D: the modifier "cregister" is not allowed on this declaration
Can you please help me to solve the problems.
Thanx
Hi Juraj,
In DSP28x_Project.h, please make sure that DSP2803x_Cla_typedefs.h is the first included header in that file. If you are using an older 2803x device support headers you may not see it in there.