| |||||
Technical Support Support Resources
Product Information | ARMCC: VARIABLES IN NON-VOLATILE MEMORYInformation in this article applies to:
QUESTIONHow can I locate variables in the non-volatile memory area? µVision offers the checkbox Project — Options — Target — NoInit. But this is not enough, because my variables are zero initialized. ANSWERIn addition to setting of the NoInit checkbox, you must define the variables using the zero_init attribute as shown below. __attribute__((zero_init)) int i; MORE INFORMATION
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Tuesday, January 30, 2007 | ||||
| |||||