KEA cw11 global variable specific addr

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KEA cw11 global variable specific addr

ソリューションへジャンプ
506件の閲覧回数
sam_lgu
Contributor I

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

0 件の賞賛
返信
1 解決策
503件の閲覧回数
ErichStyger
Specialist I

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
504件の閲覧回数
ErichStyger
Specialist I

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

0 件の賞賛
返信