Dave
unread,Aug 23, 2010, 1:30:14 PM8/23/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lightweight Communications and Marshalling
Hi,
I have some code I wrote for an embedded processor, but I was able to
use pthreads to get around glib. I had been toying around with getting
rid of pthreads by changing the system to use a loop, and interrupts,
but I didn't get around to it.
Its been a little while, but I think you might be able to compile a
lot of the individual files without glib, and get by with the standard
library alone.
Off the top of my head I think it boiled down to two parts that needs
to be ported.
1. modify lcm.c to not use glib: perhaps a "poll_lcm" function could
be called from the main loop to check up on things, or an ISR which
responds to new data coming in.
2. create a provider for the medium you want to use (UART, CAN...
whatever)
When I get off of work today I'll send you an email if your
interested.
Dave