3.3.3.8 How Do I Stop The Compiler From Using Certain Memory Locations?

Memory can be reserved when you build. The -mreserve option allows you to adjust the ranges of data and program memory when you build (see 4.6.1.18 Reserve Option). By default, all the available on-chip memory is available for use. However, these options allow you to reserve parts of this memory.