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.

TMS320F280039C: Variable optimized

Part Number: TMS320F280039C

Tool/software:

I have define a varialbe  "Version" with DATA_SECTION:

The ".version_text" has been defined in cmd file:

But the variable "Version" still be optimized.

The compiler version is TI v22.6.1.LTS.

How can I keep the Version not be optimized?