Possible bug in rtems-occan.c?

Daniel Hellstrom daniel at gaisler.com
Thu Oct 11 06:42:11 UTC 2007


This example is part of the Gaisler RTEMS samples. The OCCAN sample can 
be run in three modes, standalone TX, standalone RX and and both RX and 
TX in loop back mode (requires two OCCAN devices).

In order for boards with just one OCCAN device to work, both standalone 
RX and standalone TX are using the first OCCAN device /dev/occan0. To 
select this you compile rtems-occan.c with MULTI_BOARD defined.

The sources was updated yesterday and made available at 

Daniel Hellstrom

hwulf at et-inf.fho-emden.de wrote:
> Hi there,
> in file src/samples/rtems-occan.c at line 289, shouldn't it be called
> #ifndef MULTI_BOARD
> instead of #ifdef MULTI_BOARD?
> Kind regards,
>   Hank
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users

More information about the users mailing list