[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible bug in rtems-occan.c?
- Date: Thu, 11 Oct 2007 08:42:11 +0200
- From: daniel at gaisler.com (Daniel Hellstrom)
- Subject: Possible bug in rtems-occan.c?
Hi,
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
ftp://gaisler.com/gaisler.com/rcc/src/rtems-4.7.99.2-1.0.3-src.tar.bz2.
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
>
>
>