10.6.2 Advantages of a Linker Script-Defined Memory Region
Using a custom linker script with a new memory region can also provide advantages over an application-defined memory region.
- Update memory mapping at link time: A custom linker script allows you to easily switch between different memory mappings without rebuilding your C/C++ code.
- Standard GNU Binutils: A user migrating from another toolchain based on GNU Binutils may already be familiar and comfortable with creating new memory regions in a custom linker script. XC32 supports this standard mechanism.