the __attribute__ with 'at' is ignored
Asked by
Douglas
eclipse: Kepler 20140224-0627
java: 1.6.0_54
OS: OSX 10.9.4
toolchain: 1.10.2.201407190854
I am trying to force a variable to be at a fixed RAM location on a Cortex M3 (in this case, a Silcon Labs EFM32LG330F256).
In my code I have declared my variable as:
uint32_t fingerprint __attribute_
but the compiler gives:
../include/
uint32_t fingerprint __attribute__ ((at(0x20008c48)));
^
is this supported with this toolchain??
Is there also a way to force gcc to not initialise a variable too?
Cheers
Douglas
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Terry Guo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.