[RTEMS Project] #2441: lpc1768 variants fail to build with error in gpio.c

RTEMS trac trac at rtems.org
Mon Nov 2 17:12:09 UTC 2015


#2441: lpc1768 variants fail to build with error in gpio.c
---------------------------+-----------------------------
 Reporter:  joel.sherrill  |      Owner:  sebastian.huber
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  General        |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 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
      ^
 ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/gpio/gpio.c:29:8:
 error: unknown type name 'lpc176x_registered_interrupt_function'
  static lpc176x_registered_interrupt_function function_vector[
         ^
 ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/gpio/gpio.c:30:3:
 error: 'LPC176X_RESERVED_ISR_FUNCT_SIZE' undeclared here (not in a
 function)
    LPC176X_RESERVED_ISR_FUNCT_SIZE ];
    ^
 ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/gpio/gpio.c:35:9:
 error: unknown type name 'lpc176x_gpio_direction'
    const lpc176x_gpio_direction dir

--
Ticket URL: <http://devel.rtems.org/ticket/2441>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list