To use this library in your code:
import system.firmware
map: | mapping/FirmwareMapping |
print "Size of firmware: $mapping.size"
print "First byte of firmware: $mapping[0]"
bytes := ByteArray 128
mapping.copy 0 128 --into=bytes
print "First 128 bytes of firmware: $bytes"