I am trying to upload a program that uses the XMEGA Self-programming example where some of the functions need to be located in bootloader section to be able to use the SPM instructions.
I defined in a .BOOT section at address 0x20000(should be the bootloader section of the ATXmega128D4-AU on the XMega target) which in the Makefile is defined as:
LDFLAGS += -Wl,–section-start=.BOOT=0x20000
Problem is, I keep getting the errors linked below and I am not sure why.
Here is a copy of the map file generated https://pastebin.com/RTDDZkZh
Any help is appreciated