4.4 Linking Flash Sections
When using AVR-GCC, you must modify the linker script to ensure that Flash objects defined using
the __flashn
specifier appear in the correct Flash
pages. This is not required when using MPLAB XC8. The linker in this toolchain
automatically allocates objects to the correct address ranges. Any modification of the
linker script to do with Flash object placement can be removed.