Jump to main content
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32M MCUs
Search
Home
9
Memory Allocation and Access
9.4
Variables in Program Memory
9.4.1
Size Limitations of
const
Variables
Notice to Development Tools Customers
1
Preface
2
Compiler Overview
3
How To's
4
XC32 Toolchain and MPLAB X IDE
5
Command-line Driver
6
ANSI C Standard Issues
7
Device-Related Features
8
Supported Data Types and Variables
9
Memory Allocation and Access
9.1
Address Spaces
9.2
Variables in Data Memory
9.3
Auto Variable Allocation and Access
9.4
Variables in Program Memory
9.4.1
Size Limitations of
const
Variables
9.4.2
Changing the Default Allocation
9.5
Variable in Registers
9.6
Application-Defined Memory Regions
9.7
Dynamic Memory Allocation
9.8
Memory Models
10
Floating-point Support
11
Fixed-Point Arithmetic Support
12
Operators and Statements
13
Register Usage
14
Stack
15
Functions
16
Interrupts
17
Main, Runtime Start-up and Reset
18
Library Routines
19
Mixing C/C++ and Assembly Language
20
Optimizations
21
Preprocessing
22
Linking Programs
23
Embedded Compiler Compatibility Mode
24
Common C Interface
25
C Implementation-Defined Behavior
26
C++ Implementation-Defined Behavior
27
Deprecated Features
28
Built-in Functions
29
Built-In DSP Functions
30
PIC32 DSP Library
31
PIC32 Debug-Support Library
32
DSP Wrapper Functions
33
ASCII Character Set
34
Document Revision History
Microchip Information
9.4.1 Size Limitations of
const
Variables
There is no theoretical maximum size for const variables.