KEA cw11 global variable specific addr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KEA cw11 global variable specific addr

Jump to solution
483 Views
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 Kudos
Reply
1 Solution
480 Views
ErichStyger
Senior Contributor V

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

View solution in original post

0 Kudos
Reply
1 Reply
481 Views
ErichStyger
Senior Contributor V

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 Kudos
Reply