Scripting languages

No doubt, embedded developers must know the C language; however, there exist several tasks that can be resolved using a scripting language. In fact, a scripting language such as PHP or Python, or even the Bash language, can be used to implement a task to manage a computer peripheral. This is because these languages have several extensions to do it and because the kernel itself offers the possibility to manage its peripherals using common files (refer to the everything-is-a-file abstraction presented in Chapter 3 , C Compiler, Device Drivers, and Useful Developing Techniques, in What is a Device Driver?  section and the following sections).

In the next sections, we're going to show a simple example on how we can manage a peripheral ...

Get GNU/Linux Rapid Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.