I’ve followed the bootloader tutorial on VisualGDB site and everything is a doozy.
But now I’m wondering how to combine the .hex (or even more importantly, the .bin files!) into a single file fit for production programming. Are there any VisualGDB supported ways to do that?
If you just want to combine 2 .bin files into one, it should be as easy as padding the first one with 0xFFs and appending the second one to it.
If you want to get an ELF file that contains data from 2 binary files at given addresses, you would need to convert .bin files to .o files and link them with a special linker script that will place each file contents at a given address.