3.4.14 How Do I Use High-Endurance Flash for Data, Not Code?
For devices that implement High-endurance Flash memory in the program memory space, the memory will need to be reserved so that the compiler does not use it for executable code (see 3.3.3.8 How Do I Stop The Compiler From Using Certain Memory Locations?). Your device data sheet will indicate if your device has this memory implemented.