Jump to main content
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32M MCUs
Search
Home
10
Memory Allocation and Access
10.4
Variables in Program Memory
10.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
Code Coverage
9
Supported Data Types and Variables
10
Memory Allocation and Access
10.1
Address Spaces
10.2
Variables in Data Memory
10.3
Auto Variable Allocation and Access
10.4
Variables in Program Memory
10.4.1
Size Limitations of
const
Variables
10.4.2
Changing the Default Allocation
10.5
Variable in Registers
10.6
Application-Defined Memory Regions
10.7
Dynamic Memory Allocation
10.8
Memory Models
11
Floating-point Support
12
Fixed-Point Arithmetic Support
13
Operators and Statements
14
Register Usage
15
Stack
16
Functions
17
Interrupts
18
Main, Runtime Start-up and Reset
19
Library Routines
20
Mixing C/C++ and Assembly Language
21
Optimizations
22
Preprocessing
23
Linking Programs
24
Embedded Compiler Compatibility Mode
25
Common C Interface
26
C Implementation-Defined Behavior
27
C++ Implementation-Defined Behavior
28
Deprecated Features
29
Built-In Functions
30
Built-In DSP Functions
31
PIC32 DSP Library
32
PIC32 Debug-Support Library
33
DSP Wrapper Functions
34
ASCII Character Set
35
Document Revision History
The Microchip Website
Product Change Notification Service
Customer Support
Product Identification System
Microchip Devices Code Protection Feature
Legal Notice
Trademarks
Quality Management System
Worldwide Sales and Service
10.4.1 Size Limitations of
const
Variables
There is no theoretical maximum size for const variables.