HOWTO: Merge Bootloader and Application HEX Files

UPDATE: With more correctness

I keep forgetting how to do this and searching for it online always takes too long… maybe someone else on here will run into the problem…

And actually many tutorials online including some on the arduino forums are wrong!

You take the bootloader code, and then remove the “:00000001FF” line at the end of the bootloader code and then append the content from your main program’s .hex file

1 Like