Edinburgh, Scotland, UK
October 21 & October 25 | Co-Located Events, Tutorials, & Workshops
October 22-24 | Conference
Find out more information for Open Source Summit + Embedded Linux Conference & OpenIoT Summit Europe 2018

Please note that you can view and download presentations on the Open Source Summit and Embedded Linux Conference + OpenIoT Summit slides pages. 
Back To Schedule
Tuesday, October 23 • 11:30 - 12:10
How to Avoid Writing Device Drivers for Embedded Linux - Chris Simmonds, 2net

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Writing device drivers is time consuming and error prone. The good news is that in most cases you don't have to because Linux provides ready-made drivers for common types of interface. If you want to twiddle some GPIO pins, fade the brightness of an LED or read the temperature using a chip you got from Adafruit, it is all done for you. Well … almost all: you still have to write some user-space code to call the generic driver.

In this presentation I will give examples using three subsystems: GPIO, PWM and I2C. For each one I will show you how to write code to control hardware from the safe and simple environment of your application, written in C or C++ (bindings for other languages exist). If all goes well, there will be live demos of each category.

avatar for Chris Simmonds

Chris Simmonds

Teacher, 2net
Chris Simmonds is a software consultant and trainer living in southern England. He has two decades of experience in designing and building open-source embedded systems. He is the founder and chief consultant at 2net Ltd, which provides professional training and mentoring services... Read More →

Tuesday October 23, 2018 11:30 - 12:10 BST
Lennox 2, Level -2