Programming microcontrollers through high-level abstractions: The OMicroB project - Sorbonne Université
Article Dans Une Revue Journal of Computer Languages Année : 2023

Programming microcontrollers through high-level abstractions: The OMicroB project

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Identifiants

Citer

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⟩
106 Consultations
114 Téléchargements

Altmetric

Partager

More