package atdf
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=5f5c349d9deb3a94dcd4fc85f7ddce8e
sha512=6d5fb7ad3ee245b7de1bad85914492c953ddedd026bda954a278a51e9aebcdd8b96a6437ab7c1356e89d6b1f61819add61cc6fc2984c2dee381a37dc0472a3a6
Description
README
atdf
Atmel's ATDF (AVR Target Description Format) files parsing library.
ATDF files describe the complete hardware layout of AVR microcontrollers, including memory maps, registers, bitfields, interrupts, peripherals, pinouts, and programmer interfaces. This library parses them into strongly-typed OCaml records.
Features
- Full ATDF v0.3 schema coverage (variants, devices, modules, pinouts)
- Pre-parsed definitions (pack) for a large number of AVR microcontrollers
Quick start
You can install atdf using the OPAM package manager or another method. If you are using Dune, add atdf to your dependencies.
In use
The library uses xml-light for XML parsing; the parsed XML is then passed to the atdf library to produce a structured representation.
#require "xml-light";;
#require "atdf";;
Xml.parse_file "atmega328pb.atdf" |> Atdf.File.of_xml
(* - : Atdf.File.t = ... *)For more details, see the API reference.
ATDF pack
Additionally, the atdf.pack package provides pre-parsed definitions for a large number of AVR microcontrollers.
#require "atdf.pack";;
let atdf_file = Atdf_pack.find "atmega328p"License
The project is licensed under the MIT License, which allows for all permissions. Just use it and enjoy yourself without fear. We are always open to pull requests!
Dependencies (4)
-
ppx_deriving
build - xml-light
-
ocaml
>= "4.14" -
dune
>= "3.20"
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building atdf with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.1 (this version) | n/a | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure