Hi,

  The driver and app works for led1 on:
#define PIN_LED         GPIO_TO_PIN(6, 13)
#define MUX_LED         DA850_GPIO6_13

What GPIO pins for 2nd led?

Regards,
D.Giriprasad

--- On Thu, 12/30/10, GiriPrasad DeviPrasad <[email protected]> wrote:

From: GiriPrasad DeviPrasad <[email protected]>
Subject: Led cross compile error
To: [email protected]
Date: Thursday, December 30, 2010, 1:30 PM

Hi All,

 I am trying to cross compile for hawkboard led.c, the code as given in: 
http://groups.google.com/group/hawkboard/attach/68fff873a9611ef5/led.c?part=2

http://groups.google.com/group/hawkboard/attach/68fff873a9611ef5/led.h?part=3

 I get the following errors:
/root/giri/armdrivers/hardware_driver/lednew/led.c: In function 'led_on':
/root/giri/armdrivers/hardware_driver/lednew/led.c:192: error: 'DA850_GPIO6_12' 
undeclared (first use in this
 function)
/root/giri/armdrivers/hardware_driver/lednew/led.c:192: error: (Each undeclared 
identifier is reported only once
/root/giri/armdrivers/hardware_driver/lednew/led.c:192: error: for each 
function it appears in.)
/root/giri/armdrivers/hardware_driver/lednew/led.c: In function 'led_off':
/root/giri/armdrivers/hardware_driver/lednew/led.c:228: error: 'DA850_GPIO6_12' 
undeclared (first
 use in this function)
make[2]: *** [/root/giri/armdrivers/hardware_driver/lednew/led.o] Error 1
make[1]: *** [_module_/root/giri/armdrivers/hardware_driver/lednew] Error 2

Can any one, let know why.

Thanks & Regards,
D.Giriprasad



      
-----Inline Attachment Follows-----

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to