Use of CONFIGURE_ in virtex{4,5} bsps

Tim Cussins timcussins at eml.cc
Thu Nov 3 10:22:54 UTC 2016


Hi all,

I just encountered a build issue with the 4.11-rc4, building for
virtex4.

Currently 2 headers,

virtex4/include/bsp.h
virtex5/include/bsp.h

refer to CONFIGURE_INTERRUPT_STACK_MEMORY, which confdefs.h isn't too
happy about.

<snip>
In file included from app.c:20:0:
/home/timc/src/rtems/install//powerpc-rtems4.11/virtex4/lib//include/rtems/confdefs.h:1240:0:
warning: "CONFIGURE_INTERRUPT_STACK_MEMORY" redefined
   #define CONFIGURE_INTERRUPT_STACK_MEMORY \
 ^
In file included from
/home/timc/src/rtems/install//powerpc-rtems4.11/virtex4/lib//include/rtems/confdefs.h:44:0,
                 from app.c:20:
/home/timc/src/rtems/install//powerpc-rtems4.11/virtex4/lib//include/bsp.h:51:0:
note: this is the location of the previous definition
 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
 ^
</snip>

Can I assume those headers should be setting BSP_INTERRUPT_STACK_SIZE
instead? FWIW it resolves the issue :)

Thanks,
Tim


More information about the users mailing list