Compile program using XGpio

Bruno Monteiro bms.monteiro at
Wed Oct 22 01:35:44 EST 2008

Hi all,

I'm working with a Virtex2p. I have a running system using:

   - EDK 9.1
   - Crosstool-ng (svn)
   - linux-2.6-xlnx
   - BusyBox 1.12.1

Now, i'm trying to build a small program that turn off leds. I guess it
should be something like this:

void main (void){
    XGpio led;
    XGpio_Initialize (&led, XPAR_LEDS_4BIT_DEVICE_ID);

I want to know how to compile it (without EDK). Any suggestion?

Bruno Monteiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-embedded mailing list