Skip to content

letoh/ocaml-usb

Repository files navigation

OCaml-USB

OCaml-USB is a binding to libusb-1.0. It uses Lwt to make it easy to use asynchronous IO features of libusb-1.0.

Dependencies

For building the development version, you also need to install oasis (>= 0.3.0)

Installation

To build and install ocaml-usb:

$ ./configure
$ make
$ make install

Documentation (optional)

To build the documentation:

$ make doc

It will then be installed by make install.

Tests (optionnal)

To build and execute tests:

$ ./configure --enable-tests
$ make test