6 years, 1 month ago.

How would I go about merging a text file into a hex file?

I'm working on porting a programming language to Mbed (mainly Micro:bit). From what I've seen, Micro:bit (and DAPlink?) cannot store actual files. Instead, the hex file is loaded in and it disappears from the fake drive. To combat this, it appears that projects like Micropython or MakeCode merge the runtime and the program into a single .hex file. How is this done?

Be the first to answer this question.