Andrew Kalman wrote:

Hi All.

For those of you not familiar with the Salvo RTOS, it's an RTOS with an especially small RAM footprint that is well-suited to the MSP430.

Pumpkin has certified the Archelon / Quadravox, IAR, ImageCraft and Rowley Associates compilers for use with Salvo.

We've been asked to do an mspgcc port. One thing we would need (and I couldn't find in the documentation) is a __monitor__ keyword (all 4 of the abovenamed compilers support this). When applied to a function like this:

void MyFn (args) __monitor__
{
  ...
}

the net result is that the very first two instructions in the function are:

push SR
dint

and the very last instruction is

reti

i.e. the function saves the GIE status upon entry, and restores it upon exit.

Since this will affect a function's stack frame, this is something that must be supported natively in the compiler, and cannot be done via in-line assembly.

Are there any plans to support this keyword? If so, when would it be folded into a new mspgcc release?

Thanks,
---------------------------------------------------------------
Andrew E. Kalman, Ph.D.      a...@pumpkininc.com

Pumpkin, Inc.
home of Salvo, The RTOS that runs in tiny places.(TM)
http://www.pumpkininc.com



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


You might also want to look at NESOS, it is a state-machine OS which works really well on the MSP430. All process comms is done with packets that re-use RAM so you need very little ram to run with. It also only takes 4K of flash for the OS.

See : http://home.eunet.no/~jen/nenesos.html

Cheers,
Bernard Mentink



Reply via email to