Blog Home

Avr OS on Arduino

davide.vellutoDecember 11th, 2012

What about an OS to run on your Arduino? Ok not in the way big os, remember Arduino has limited performance, but some of the basics, like spinlocks/multitask can be integrated with the AVR Os. As you know Arduino uses an AVR Compilant Processor, so its easy to port the code. The user [chris] sent us the way to do it, with also a simple sketch to print the classic “Hello World”.

avr-os is a library that provides a very basic rutime that enables your program to multitask.
The library uses pre-emptive multitasking to switch tasks and each task has its own stack that is restored when a task is resumed. An AVR timer is used to provide ticks and this interrupt is used to switch tasks.

All the instructions and the code to do it is stored at the [website]

Categories:Gallery

2 Responses to “Avr OS on Arduino”

  1. pantalla de leds flexibles Says:

    I’ve been browsing online greater than 3 hours these days, but I by no means found any interesting article like yours. It is beautiful value sufficient for me. In my view, if all website owners and bloggers made excellent content as you did, the internet will be much more helpful than ever before.

  2. Avr OS on Arduino | PROTO Says:

    […] Från http://arduino.cc/blog/2012/12/11/avr-os/ […]

Leave a Reply

You must be logged in with your Arduino account to post a comment.