Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
intel_hex
The Intel HEX manipulation library for OCaml provides functions to read, write, and create Intel HEX format data, which is commonly used in embedded systems programming.
Usage
If you are using Dune, add the intel_hex library to your libraries stanza.
Here is an example that creates an IHEX object file with test data and then prints it:
Intel_hex.Record.
[
Extended_segment_address 0x0F;
Data (0x0000, "Hello ");
Data (0x0007, "World!");
End_of_file;
]
|> Intel_hex.records_to_string
|> print_endline