hi, everyone !
could anybody tell me how to define one global variable at specific addr ?
i tried "attribute" command, the ide told me it was ignored!
thanks
Solved! Go to Solution.
I assume you are using gcc?
Then the following shall work:
https://mcuoneclipse.com/2012/11/01/defining-variables-at-absolute-addresses-with-gcc/
I hope this helps,
Erich
I assume you are using gcc?
Then the following shall work:
https://mcuoneclipse.com/2012/11/01/defining-variables-at-absolute-addresses-with-gcc/
I hope this helps,
Erich