• Converts the Python code into the Intel Hex format expected by MicroPython and injects it into a Intel Hex string containing a marker.

    TODO: Throw error if filesystem is using the penultimate page already.

    Parameters

    • intelHex: string

      Single string of Intel Hex records to inject the code.

    • pyCode: string

    Returns string

    Intel Hex string with the Python code injected.