gcc: MSP430 Variable Attributes
1
1 6.32.10 MSP430 Variable Attributes
1 ----------------------------------
1
1 'noinit'
1 Any data with the 'noinit' attribute will not be initialised by the
1 C runtime startup code, or the program loader. Not initialising
1 data in this way can reduce program startup times.
1
1 'persistent'
1 Any variable with the 'persistent' attribute will not be
1 initialised by the C runtime startup code. Instead its value will
1 be set once, when the application is loaded, and then never
1 initialised again, even if the processor is reset or the program
1 restarts. Persistent data is intended to be placed into FLASH RAM,
1 where its value will be retained across resets. The linker script
1 being used to create the application should ensure that persistent
1 data is correctly placed.
1
1 'lower'
1 'upper'
1 'either'
1 These attributes are the same as the MSP430 function attributes of
1 the same name (⇒MSP430 Function Attributes). These
1 attributes can be applied to both functions and variables.
1