Programming Microcontrollers through High-Level Abstractions
Steven Varoumas, Basile Pesin, Benoît Vaugon, and Emmanuel Chailloux
(Sorbonne University, France; CNRS, France; LIP6, France; Inria, France; Armadillo, France)
In this paper, we present an approach for programming microcontrollers that provides more expressivity and safety than a low-level language approach traditionally used to program such devices. To this end, we provide various abstraction layers (abstraction of the microcontroller, of the electronic components of the circuit, and of concurrency) which, while being adapted to the scarce resources of the hardware, offer high-level programming traits for the development of embedded applications. The various presented abstractions make use of an OCaml virtual machine able to run on devices with limited resources and take advantage of the expressivity and extensibility of the language. We illustrate the interest of our work on both entertainment applications and embedded software examples.
@InProceedings{VMIL20p5,
author = {Steven Varoumas and Basile Pesin and Benoît Vaugon and Emmanuel Chailloux},
title = {Programming Microcontrollers through High-Level Abstractions},
booktitle = {Proc.\ VMIL},
publisher = {ACM},
pages = {5--14},
doi = {10.1145/3427765.3428495},
year = {2020},
}
Publisher's Version