11.3.1.1 String and Const Objects

By default, the compiler will automatically arrange for strings and const-qualified initialized variables to be allocated in the auto_psv section, which is mapped into the PSV window. Specify the -mconst-in-data option to direct the compiler not to use the PSV window and these objects will be allocated along with other RAM-based variables.

In the default memory model, the PSV page is fixed to one page which is represented by the auto_psv memory space. Accessing the single auto PSV page is efficient as no page manipulation is required. Additional Flash may be accessed using the techniques introduced in section 11.3.2 Access of Objects in Program Memory, Managed PSV Access.