RTOS terminology

Before dive in the exciting world of real-time operating systems, we need to understand the basic terminology. What is latency? The time elasped between a demand issued on a computer system and the begining of a response to the same demand is called latency or response time. Kinds of latencies: Interrupt Latency: The time elapsed

Continue reading RTOS terminology

Riot-OS: tutorial to use command handlers and multi threading

This another tutorial of how using command handlers and multithreading. In short, we have a thread that listens for messages and prints the pid and the content value. To send the message we use a shell script by using the command handle mechanism. The code looks like: In order to compile the code, you should

Continue reading Riot-OS: tutorial to use command handlers and multi threading

How to update or customise the raspberry pi Linux kernel

It is some times necessary to customise the Linux Kernel to add or remove specific support in terms of hardware compatibility. For instance, I wanted to experiment with the popular PEAK USB adapter. In that case, there is the SocketCAN Linux driver which is embedded in Kernel since version 3.6.  To enable this option in

Continue reading How to update or customise the raspberry pi Linux kernel