Can I include two .hex files into my final .hex build?
Is there a build tool to insert two .hex files into my final image?
I am retroactively updating an existing firmware by moving a bootloader I've created from an unused place in the updated image into its proper sector. But to do this, I need to insert the bootloader into the image I am updating with.
(Update image contains existing code + boot image1 + boot image2)
My main update image will be contained in sector 0 - 5. My first separately built bootloader.hex file must be squeezed into sector 6, and my second separately build bootloader2.hex must be squeezed into sector 7.
I have found it is possible to use the linker file to insert raw hexadecimal bytes, but this requires converting the .hex file to an ascii hex array, copying it over and then building.
Is there a command line build tool alternative to do this cleanly?
