i2c01 test build failure

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jan 14 06:54:51 UTC 2015


Should be fixed with

http://git.rtems.org/rtems/commit/?id=6042fdb7dd67d6261f433fb187b2b5bd70c876d4

On 13/01/15 23:10, Joel Sherrill wrote:
> Hi
>
> The mcf5206elite, beagle, and gen5200 BSPs define the symbol I2C_TIMEOUT
> in a BSP specific include file.  The Beagle actually uses the symbol in
> BSP code.
> The others just define it.
>
> The mcf5206elite fails to build the i2c01 test as follows:
>
> In file included from
> ../../../../../mcf5206elite/lib/include/dev/i2c/i2c.h:27:0,
>                   from
> ../../../../../../../rtems/c/src/../../testsuites/libtests/i2c01/init.c:19:
> ../../../../../mcf5206elite/lib/include/i2c.h:44:5: error: expected
> identifier before numeric constant
>       I2C_TIMEOUT,
>
> At least the powerpc/icecube builds the test but the name conflict remains.
>
> I didn't build the beagle to check.
>

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list