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:
- Understanding the architecture of OxidOS, what its main components are and how they interact with each other.
- Writing an application for OxidOS in Rust and loading it to a simulated environment.
- 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
- Digital Input Output
- CAN messaging
- Display (optional)