Programming microcontrollers through high-level abstractions: The OMicroB project - Sorbonne Université Access content directly
Journal Articles Journal of Computer Languages Year : 2023

Programming microcontrollers through high-level abstractions: The OMicroB project

Abstract

In this paper, we present an approach for programming microcontrollers that provides more expressivity and safety than the 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, called OMicroB, which is able to run on devices with limited resources. These take advantage of the expressivity and safety of the OCaml language (parameterized modules, advanced type system). Its extensibility allows to define a synchronous extension to manage concurrency while keeping a good level of efficiency at execution. We illustrate the value of our work on both entertainment applications and embedded software examples.
Fichier principal
Vignette du fichier
cola.pdf (1.15 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-04279767 , version 1 (10-11-2023)

Identifiers

Cite

Steven Varoumas, Basile Pesin, Benoît Vaugon, Emmanuel Chailloux. Programming microcontrollers through high-level abstractions: The OMicroB project. Journal of Computer Languages, 2023, 77, pp.101228. ⟨10.1016/j.cola.2023.101228⟩. ⟨hal-04279767⟩
0 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More