Your source for daily hacks

Published on: August 27, 2013 / Comments: None

Are you ready to move to an RTOS?

Well that depends...

There’s an interesting article on The Bare Metal Enthusiast about to RTOS or not to RTOS.  Definitely an interesting topic.  First off if you don’t know, RTOS is Real Time Operating System.  It’s a sort of middle ground between writing some bare code on a microcontroller, to a full operating system like Linux or Windows.  It (usually) allows you to run multiple things at nearly the same time, and is a framework for modularizing your code and thought process.

It’s difficult finding a balance between using an RTOS and not using one.   For instance, you must know that running your blinky led program on an embedded Linux board (like the Pi) is way overkill and a lot of overhead.  But then if you’ve ever tried to handle a bunch of things at once like running a LCD, and reading inputs, and playing music from a bare metal application can be quite daunting to get your scheduling right.

The author also makes the comparison between 8-bit and 32-bit MCU’s.

It’s a good read, check out the full article here.

Leave a Reply

Some HTML is OK