KB: Error: ld returned 1 exit status when building a FOTA application

Question

When integrating the FOTA feature into a custom application, we encountered the ld file error in the figure below. What should we do to fix this?

image

Recommendation

There appears to be some error within your sections.ld file. Replace the file with the one located in the ble_peripheral_server_hrp_fota sample project.