susan906
Joined: 12 Oct 2011 Posts: 1
|
Getting address of const data stored in ROM |
Posted: Wed Oct 12, 2011 2:54 pm |
|
|
I have some blocks of constant data I would like to store in ROM (by defining the data as const). Is there a way to get the address of data stored in ROM, so that for example I can pass an address to a function as an argument? If I try something simple such as const int8 thing1; printf("%x", &thing1);, the compiler complains about taking the address. |
|