[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-gcc-4 TinyOs
From: |
Ned Konz |
Subject: |
Re: [avr-gcc-list] avr-gcc-4 TinyOs |
Date: |
Tue, 16 Oct 2007 06:18:51 -0700 |
User-agent: |
Thunderbird 2.0.0.6 (Macintosh/20070728) |
Bob Paddock wrote:
If you are interested in State Machines check out the Ragel State Machine
Compiler.
http://www.cs.queensu.ca/~thurston/ragel/
I've used it with GCC and AVR's for years.
I have looked at it, but it doesn't support the Harel/UML-style
hierarchical state machines that I tend to end up with.
Instead of a generator, I use a framework that has been ported to the
AVR (I did the first AVR port that I know of, but it has also been done
by the guy who wrote it).
See the Quantum Framework at:
http://www.quantum-leaps.com/
This framework supports event queueing, may be set up to be preemptive,
is well documented, and is pretty light-weight in terms of code size and
speed (and very light-weight in RAM usage). There is a light version of
it called QP-Nano that is quite appropriate for the smaller AVRs (say
the AVR45).
http://www.quantum-leaps.com/products/index.htm#QP-nano
AVR port at:
http://www.quantum-leaps.com/avr/index.htm
The QDK-nano AVR-GCC is dual-licensed (GPL/commercial), so depending on
your needs you should be able to find something that fits. Price is
reasonable. It's royalty-free.
Ned Konz