LegOS

Lego Mindstorm with Linux Mini-HOWTO
Prev |  | Next

# 3. LegOS

## 3.1. Homepage

http://legOS.sourceforge.net

## 3.2. Author

Markus L. Noga

## 3.3. Type

Firmware replacement.

## 3.4. Language

C, C++.

## 3.5. Platforms

Developed on x86 GNU/Linux and tested on PPC Linux. It has also been ported to Cygwin and DJGPP on MS Windows. Solaris and Irix ports have been attempted but not all tools work.

## 3.6. Description

LegOS is a pre-emptive multitasking POSIXish OS for the RIS. Programs are written in standard C or C++, compiled on the PC using gcc (built as a cross-compiler), and then downloaded to the RCX where they are executed. Basically, anything you can write in C or C++ (and 32K of RAM, of course ;) you can write in legOS. Interesting features include random(), floating point emulation, threading with POSIX semaphores, and the ability to store multiple programs. It also includes functionality for sending and receiving data from Linux and MS Windows PCs. This power (legOS is almost definitely the most powerful of the RCX alternative software systems) comes at a slight cost: because it uses gcc, legOS is probably the most complex system to set up of the various Linux alternatives, and requires the largest download of tools.

Prev | Home | Next
The Mindstorms Architecture |  | Lego::RCX.pm