3.3.3.3 How Do I Place Variables in Program Memory?
The const
qualifier implies that the qualified variable
is read only. See the -membedded-data
option in 5.7.1 Options Specific to PIC32M Devices for information about
allocating 'const' qualified variables to program memory (Flash). As a consequence of this
any variables, except for auto variables or function parameters, qualified
const
are placed in program memory, thus freeing valuable data RAM (see
10.4 Variables in Program Memory). Variables
qualified const
can also be made absolute, so that they can be positioned
at an address you nominate.