Rob:

 I would read the Molloy book/Website/Videos.

He explains in detail how to set up Eclipse + gcc  cross-compile toolchain. 
under Windows.
I have also done the same thing on a VM running Ubuntu under windows, or 
directly on a PC running Ubuntu.

Molloy, unfortunately does all of his C  I/O examples via the Linux 
pseudo-file I/O method, which is very slow.

If you are looking for a low level, public domain, C I/O package for GPIO, 
SPI and I2C, try:
https://github.com/VegetableAvenger/BBBIOlib

If you find a better one, please report back. There are not many out there.

I have had good luck with it running GPIO, high speed SPI transfers, lots 
of I2C etc.

In a tight ON/OFF loop, the fastest I can toggle a GPIO pin using Linux 
pseudo-file I/O is about 6 kHz.

Using BBBIOlib, I can toggle a GPIO pin at about 2.4 MHz, almost a three 
orders of magnitude improvement.

--- Graham

==

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to