GPIO broke a few ARM BSPs
Joel Sherrill
joel.sherrill at oarcorp.com
Sat Aug 15 18:27:39 UTC 2015
Hi
It looks like the gpio addition broke three BSPs:
arm-lpc1768_mbed_ahb_ram_eth
arm-lpc1768_mbed_ahb_ram
arm-lpc1768_mbed
arm-rtems4.11-gcc --pipe -B../../../../../.././lib/
-B../../../../../.././lpc1768_mbed_ahb_ram_eth/lib/ -specs bsp_specs
-qrtems -DHAVE_CONFIG_H
-I../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/../../../libcpu/arm/shared/include
-march=armv7-m -mthumb -O2 -ggdb3 -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
libbsp_a-timer.o -MD -MP -MF .deps/libbsp_a-timer.Tpo -c -o
libbsp_a-timer.o `test -f 'timer/timer.c' || echo
'../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/'`timer/timer.c
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
--
-- Joel Sherrill
Ask me about RTEMS: a free RTOS
Support and Training Available
More information about the devel
mailing list