AnsweredAssumed Answered

help with gpio_led in u-boot on cm-bf527

Question asked by pez3 on Mar 12, 2012
Latest reply on Mar 23, 2012 by Aaronwu



currently i'm using a cm-bf527 from bluetechnix in my project... on on PG12 and PG13 i have two LEDs which i want to use as status LEDs while booting in u-boot and later on in UCLinux...


during my exhausting internet search i stumbled upon the possibility using the gpio_led driver...


i tried to implement the specific parts of the bf533-stamp config file to my cm-bf527 config file... but when i try to compile my u-boot configuration i get the following errors:


make[2]: Betrete Verzeichnis '/home/pez3/u-boot/drivers/misc'

bfin-uclinux-gcc  -g  -Os   -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf527-0.2 -D__KERNEL__ -I/home/pez3/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security   -o gpio_led.o gpio_led.c -c

gpio_led.c:12: Fehler: expected »)« before »mask«

gpio_led.c:18: Fehler: expected »)« before »mask«

gpio_led.c:23: Fehler: expected »)« before »mask«

make[2]: *** [gpio_led.o] Fehler 1


as documentation is really poor i don't know what exactly to do to get the status leds running...


can anybody help me here??


thank you for your help