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
解決済! 解決策の投稿を見る。
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