Expand description
§The IHEX Library
A Rust library for parsing and generating Intel HEX (or IHEX) objects. This format is commonly used for representing compiled program code and data to be loaded into a microcontroller, flash memory or ROM.
Modules§
Structs§
Enums§
Functions§
- checksum
- Computes the Intel HEX checksum of
data
. This is done by summing all the bytes ofdata
and taking the two’s complement of the least significant byte of the sum. - create_
object_ file_ representation - Generates an Intel HEX object file representation of the
records
provided. It is the callers responsibility to ensure that no overlapping data ranges are defined within the object file. In addition,records
must have contain 1 EoF record, and it must be the last element inrecords
.