Flattened Devicetree (DTB) codec and overlay application
1(lang dune 3.21)
2(using mdx 0.4)
3(name fdt)
4(version 0.1.0)
5(formatting (enabled_for ocaml))
6
7(generate_opam_files true)
8(implicit_transitive_deps false)
9
10(license ISC)
11(maintainers "Thomas Gazagnaire <thomas@gazagnaire.org>")
12(authors "Thomas Gazagnaire <thomas@gazagnaire.org>")
13(source (tangled gazagnaire.org/ocaml-fdt))
14
15(package
16 (name fdt)
17 (synopsis "Flattened Devicetree (DTB) codec and overlay application")
18 (tags (org:blacksun codec.binary))
19 (description "
20Decode and encode the flattened devicetree blob format defined by
21chapter 5 of the Devicetree Specification v0.4, and apply devicetree
22overlays (.dtbo) using the fragment/__fixups__ convention implemented
23by libfdt and the Linux kernel. A devicetree is a tree of nodes with
24raw byte-string property values plus blob-level metadata (boot CPU id,
25memory reservations); helpers convert property values to and from
26cells, strings and 64-bit integers. Pure OCaml, on the wire codec
27combinators.")
28 (depends
29 (re :with-test)
30 (ocaml (>= 5.1.0))
31 (wire (>= 1.0.0))
32 optint
33 (bytesrw (>= 0.1.0))
34 (fmt (>= 0.9.0))
35 (alcotest (and :with-test (>= 1.7.0)))
36 (alcobar :with-test)
37 (mdx :with-test)))