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.

TMS570LS Static variables not initializate are allocated in flash

I declare the variable 'pippo_tmp' as static type inside the function 'void rti_UpdateTimer (void)', 'pippo_tmp' is not initialized. I don't understand why it is allocated in the flash at 0x000861C and not in RAM. If I initialize the variable, everything works. What linker/compiler settings should I make?

I attached the screenshot.