Hello all,
Environment: nRF52840-DK, NRF SDK V15.0.0, SoftDevice s140 v 6.0.0, ARMGCC building with Makefile
I am currently trying to combine the examples of the USB and BLE DFU bootloaders into one bootloader, and I have run into a problem at the linking stage. I have run into this problem multiple times, and more or less would just like some info on this part of the procedure.
I have started by copying the <SDK_ROOT>/examples/dfu/secure_bootloader/pca10056_ble example to another example called <SDK_ROOT>/examples/dfu/secure_bootloader/pca10056_ble_usb, and then added the appropriate source files and include files from the <SDK_ROOT>/examples/dfu/secure_bootloader/pca10056_usb example to the new example. I'm able to compile all the required files but at the linking step I get the following:
I know I need to make changes to the bootloader flash section in the associated secure_bootloader_gcc_nrf52.ld example linker script, but this is not something I have really done before. I'd like to learn how to go about this as well as get some resources on how to understand and manipulate linker scripts.
I'm sure as I move forward I'll have more issues in regards to the proper building of this combined example, but I really want to get this fundamental understood first.
Thanks!