Guest
#1923514
Hi,
I have a application where I need to declare a couple of variables in
RAM but they will not be used in the application. I then use the RAM
addresses for the variables, to change there values via a communication
port.
Unfortunately GCC remove the variables if I don't use them, and I don't
want to add "fake use" like "if(var_name){}"
I don't use any optimizing at the moment, the variables are removed
anyway.
Is there a way to keep them?
Thanks
/Mattias