Converts an Intel Hex string into a Hex string using the 512 byte blocks format and the Universal Hex specific record types.
The output of this function is not a fully formed Universal Hex, but one part of a Universal Hex, ready to be merged by the calling code.
More information on this "block" format: https://github.com/microbit-foundation/spec-universal-hex
Intel Hex string to convert into the custom format with 512 byte blocks and the customer records.
New Intel Hex string with the custom format.
When the Board ID is not between 0 and 2^16.
When there is an EoF record not at the end of the file.
Converts an Intel Hex string into a Hex string using the 512 byte blocks format and the Universal Hex specific record types.
The output of this function is not a fully formed Universal Hex, but one part of a Universal Hex, ready to be merged by the calling code.
More information on this "block" format: https://github.com/microbit-foundation/spec-universal-hex