Welcome to the ChibiOS section on PLAY Embedded, your go-to resource for getting started with ChibiOS. Here, you’ll find a comprehensive series of articles that cover everything you need to know to get started with ChibiOS, from the basics of installing and setting up ChibiStudio, to creating your first ChibiOS project.
In addition to practical tutorials, we also cover the theory behind working with specific peripherals such as GPIO and SPI, giving you a deeper understanding of how ChibiOS interacts with these components.
Whether you’re a seasoned developer or just starting out with embedded systems, the ChibiOS section on PLAY Embedded has something for everyone. So dive in, explore our articles, and start your journey to mastering ChibiOS today!
In this article, we will explain what race conditions are and provide examples to help you understand their impact on multi-threading applications.
We will also introduce a powerful tool to prevent race conditions: the mutex. We will explain what a mutex is, how it works, and provide ...
Digital outputs are an essential part of embedded systems development, and one of the best ways to experiment with them is by using LEDs. In this article, we will take a hands-on approach to digital output using LEDs hooked together with resistors as a peripheral. Along the way, we will explain ...
Digital inputs are one of the primary ways embedded systems interface with the external world, allowing device-to-device communication and MCUs to respond to user inputs or environmental changes. In our previous article, we covered the fundamentals of the PAL driver of ChibiOS/HAL, which ...
Embedded system applications are becoming increasingly complex, and as a result, developers are constantly looking for new ways to make their firmware nimbler, simpler and more efficient. One of the most critical aspects of programming embedded systems is the use of interrupts to handle ...
The General Purpose Input/Output (GPIO) is a crucial peripheral in microcontrollers, enabling communication with the external world by sending and receiving signals through its input/output lines. GPIOs are highly configurable and versatile, with a single microcontroller often capable of ...
In this article, we will demonstrate how to create multiple threads using parametric functions. This means that while the function executed by each thread is the same, the specific behavior is influenced by passing different parameters each time.
To illustrate how parametric threads work, we ...
The board files are a critical component of a ChibiOS-based project. They define how peripherals are connected to the microcontroller and provide information related to key elements that depend on the board in use. This article will discuss what board files are in ChibiOS, their role in a ...
In this example, we are going to see what is the simplest project you can create in ChibiOS. Following this demo, you will be able to continuously blink an LED with a simple single-thread application stripping down all the extra code. For this exercise, we are going to use the SDP-K1 and we are ...
Unlock the full potential of ChibiOS with this beginner-friendly guide to understanding the anatomy of a ChibiOS project, tweaking subsystems, and mastering the essential concepts of multithreading for efficient embedded systems
...This article aims to provide a general overview of ChibiStudio as a tool and its overall structure, in order to make it easier for the user to navigate and understand how it can improve their
...Unlock the power of ChibiOS with the versatile SDP-K1 controller board. Learn to implement a wide range of applications with
...The easiest way to start a new development in ChibiOS is to duplicate a previous project. So make sure to have an imported project in your Project Explorer before proceeding. This guide will demonstrate how to duplicate a project.
- Right click on the project and select Clean ...