[En-Nut-Discussion] Nut/OS Simulation on Host PC

Matthias Ringwald mringwal at inf.ethz.ch
Mon Mar 1 13:57:03 CET 2004


Dear Mr. Mason,

I just found your mail about porting Nut/OS to a Windows PC.

I'm very interested in this port, because I have the same need
(write and debug apps on the pc before even starting the programmer)

Could you make the port available to me?
Could it be made available to others, too?


I want to run nut/os on mac and/or linux.

How did you simulate the thread switching?

I thought I could use a posix thread for every nut/os thread
and have all but one of them block on a semaphore (or whatever it is 
called)
if a nut/os thread switch oocures the running thread could first signal
the next thread to start and then block itself again on the semaphore.

did you emulate the uart drivers too?

so far, on our btnode platform (www.btnode.ethz.ch) we had a simple
dispatcher 'os', and simulating this on linux was quite straight 
forward.


thanks,
  Matthias Ringwald
  ETH Zürich

	



More information about the En-Nut-Discussion mailing list