BSP Build Failures From GPIO

André Marques andre.lousa.marques at gmail.com
Thu Sep 10 18:25:29 UTC 2015


Hello,

I have previously sended a patch set regarding this

https://lists.rtems.org/pipermail/devel/2015-August/012327.html

Às 19:00 de 10-09-2015, Joel Sherrill escreveu:
> Hi
>
> I did a build sweep overnight on the master and a few BSPs have issues
> with the GPIO additions.
>
> arm-lpc1768_mbed_ahb_ram_eth
> arm-lpc1768_mbed_ahb_ram
> arm-lpc1768_mbed
>
>
> In file included from 
> ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/gpio/gpio.c:25:0:
> ../../../../../.././lpc1768_mbed_ahb_ram_eth/lib/include/bsp/gpio.h:28:4: 
> error: #error "BSP_GPIO_PIN_COUNT or BSP_GPIO_PINS_PER_BANK is not 
> defined."
>    #error "BSP_GPIO_PIN_COUNT or BSP_GPIO_PINS_PER_BANK is not defined."
>     ^
> ../../../../../.././lpc1768_mbed_ahb_ram_eth/lib/include/bsp/gpio.h:32:4: 
> error: #error "Invalid BSP_GPIO_PIN_COUNT or BSP_GPIO_PINS_PER_BANK."
>    #error "Invalid BSP_GPIO_PIN_COUNT or BSP_GPIO_PINS_PER_BANK."
>     ^
> ../../../../../.././lpc1768_mbed_ahb_ram_eth/lib/include/bsp/gpio.h:41:5: 
> error: division by zero in #if
>  #if GPIO_LAST_BANK_PINS > 0
>
> Patches appreciated.
>

--André Marques.




More information about the devel mailing list