This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

__attribute__((at(x))) for AC6 ?

Hello,

is it possible to define a const variable at a given address using AC6 similar to this?

__attribute__((used)) const char signature[16] __attribute__((at(0x08041000)))={"my_signature"};

I think it would be possible to place this string in a separate c-file and create a section in the scatter-file and define a address/length, but I would prefer something similar to this above.

Thank you.

Parents Reply Children