Matt Shaver wrote:
> I ask, because it would be easier for me if someone had already done
> this, rather than me having to do the actual work :) Anyone got one of
> these? I figure it should be called hal_rpiport...
>   
I have built some devices using the BeagleBoard (derived from the system 
that
you originally built) that act as TCP services and control hardware through
the Beagle's GPIO.  I did it all as a privileged user-mode task, here's the
source:
http://pico-systems.com/codes/server.c

It has everything in one module, so it sets up the GPIO configuration 
through
memory mapping, binds to a TCP socket and then handles commands.

I don't know if this will be of use, but the general technique of 
accessing the
GPIO should work.  The mapping of the pins, and possibly the way the GPIO
banks work could be different.  You have to be careful to skip over the
GPIO pins that are used by other functions of the system.  If you alter
one, you get a system hang.

Jon

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to