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.
Hi,
how about this:
const char signature[16] __attribute__((used)) __attribute__((section(".ARM.__AT_0x08041000"))) = {"my_signature"};
Best regards, Milorad
Thank you, exactly what I need.