Building real-time applications in Rust with OxidOS

By Alexandru Radovici and Cristian Rusu

Workshop - Tuesday, 28 May

Rust is a systems language that is perfectly suited for writing embedded applications.

While there are several libraries and frameworks available, the most complex one is Tock, an operating system written fully in Rust with a fairly innovative architecture. It has a similar architecture to large operating systems like Linux, while running on small devices. Its kernel is fully separated from the applications and each application is built separately into its own binary.

OxidOS is the professional version of Tock geared towards usage in automotive. It is build by the OxidOS team - that includes some of the top contributors to the Tock main branch.

Objectives

Using the OxidOS Developer Platform, this workshop will guide you through building the kernel, adding a small driver, creating a user space library and applications.

The main objectives of the workshop are:

  1. Understanding the architecture of OxidOS, what its main components are and how they interact with each other.
  2. Writing an application for OxidOS in Rust and loading it to a simulated environment.
  3. Writing a driver for OxidOS and its counterpart user space library.

We will use the OxidOS Developer Platform to run OxidOS in a simulated environment and on the STM32 Demonstrators.

Topics covered

Book this workshop



Trainer

speaker.name

Alexandru Radovici

Alexandru Radovici is an Associate Professor at the Politehnica University in Bucharest, Romania, where he has been using Rust to teach for a few years. Alexandru is also one of the maintainers of the Tock embedded operating system, written fully in Rust.

speaker.name

Cristian Rusu

Cristian Rusu is a senior research and development manager at OxidOS Automotive, a start-up committed to developing Rust for embedded systems where safety and security play a crucial role, such as the automotive industry.