Marcus Folkesson

Embedded Linux Artist

Embedded Open Source Summit 2023

Embedded Open Source Summit 2023 This year the Embedded Linux Conference is colocated with Automotive Linux Summit, Embedded IOT summit, Safety-critical software summit, LFEnergy and Zephyr Summit. The event was held in Prague, Czech Republic this time. It's the second time I'm at a Linux conference in Czech Republic, and it clearly is my favorite place for such a event. Not only for the cheap beer but also for the architecture and the culture. cover

Write a device driver for Zephyr - Part 1

Write a device driver for Zephyr - Part 1 This is the first post in this series. See also part part2, part3 and part4. Overview The first time I came across Zephyr [1] was on Embedded Linux Conference in 2016. Once back from the conference I tried to install it on a Cortex-M EVK board I had on my desk. It did not go smoothly at all. The documentation was not very good back then and I don't think I ever got system up and running. cover

Write a device driver for Zephyr - Part 2

Write a device driver for Zephyr - Part 2 This is the second post in this series. See also part part1, part3 and part4. Overview In the first part1 of this series, we did setup the hardware and prepared the software environment. In this part we will focus on pretty much everything but writing the actual driver implementation. We will touch multiple areas in order to fully integrate the driver into the Zephyr project, this includes: cover

Write a device driver for Zephyr - Part 3

Write a device driver for Zephyr - Part 3 This is the third post in this series. See also part part1, part2 and part4. Overview In the previous part we prepared Zephyr for our soon to be born driver. Now we have finally come to the fun point - write the actual driver code! Driver API I used to write code for the Linux kernel which is a little bit more complex kernel than Zephyr. cover

Write a device driver for Zephyr - Part 4

Write a device driver for Zephyr - Part 4 This is the forth post in this series. See also part part1, part2 and part3. Overview This is the forth and last part of this series where we will focus on contribute the driver back to the Zephyr project. Zephyr use Github for hosting the project and all contribution is by Pull Requests. The process is all well documented [1], both on how to contribute but also what the project expect from you as a contributor. cover