Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

An OS generator?

0 views
Skip to first unread message

Rod Pemberton

unread,
Nov 24, 2009, 6:57:45 PM11/24/09
to

It seems someone wrote an OS generator. It generates a RTOS from
information for a FSM.

"Given a set of 'tasks' written in C, WhatOS generates a finite-state
machine operating system in C, that is architecture independent and small
enough to run even on resource-limited 8-bit microcontrollers."
...
"WhatOS will generate a customized, architecture independent operating
system in C, using only resources needed by your application. The operating
system includes a memory manager, scheduler, and network type conversions."

And:

"WhatOS is a small Python framework for creating applications consisting of
communicating state machines. It allows a Python programmer to write state
machines, called tasks, plug them together in a system, and simulate that
system. The behavior of each task can be specified using either C or Python.
WhatOS can generate a stand-alone real-time operating system (RTOS)
containing the C tasks and all communication support between those tasks.
This RTOS is generated in the form of a C file which may be compiled using
different C compilers and used to program different processors."

http://www.sticlete.com/downloads/whatos_snapshot/doc/html/index.html
http://www.sticlete.com/whatos/index.html


Rod Pemberton


BGB / cr88192

unread,
Nov 24, 2009, 8:24:53 PM11/24/09
to

"Rod Pemberton" <do_no...@nohavenot.cmm> wrote in message
news:hehs0f$s7v$1...@aioe.org...

yes.

absent further investigation, I think what is described is very well
possible, and I have a fairly good idea how it could work, but it is not
strictly "writing an OS" in the traditional sense.

very likely, it would work by breaking down the OS into lego-like
components, and then using the tool to figure out which blocks are needed
and how to plug them together, ...


>
> Rod Pemberton
>
>


Alexei A. Frounze

unread,
Nov 24, 2009, 10:15:27 PM11/24/09
to

Texas Instruments offers a somewhat similar thingy, DSP/BIOS. It's a
tiny kernel, which can be configured through a GUI tool. The
configuration then translates to code and links with the app. You can
configure devices, ISRs, tasks and synchronization primitives.

Alex

0 new messages