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.

CCS/TMS320F28379D: How do i define a static variable and global variable in CLA?

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I designed a program in CLA that need a variable reserve its value of last cycle. So I need to define a static variable or global variable.

I have difined a variable like "static int a" in cla , but it built to some wrong message.   How do i define these static variables?