i2c01 test build failure

Joel Sherrill joel.sherrill at oarcorp.com
Tue Jan 13 22:10:28 UTC 2015


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.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list