1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/iic/iic_psl/i2c.mmp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,62 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32test/iic/iic_psl/i2c.mmp
1.18 +//
1.19 +
1.20 +macro IIC_SIMULATED_PSL
1.21 +#define IIC_SIMULATED_PSL /*Only for iic_channel.mmh to pick up the needed iic_testpsl.lib*/
1.22 +#include "../../../../kernel/eka/drivers/iic/iic_channel.mmh"
1.23 +
1.24 +target i2c.pdd
1.25 +targettype pdd
1.26 +
1.27 +sourcepath ../../../../kernel/eka/drivers/iic
1.28 +source IIC_PIL_SOURCE
1.29 +
1.30 +sourcepath .
1.31 +source i2c.cpp
1.32 +
1.33 +OS_LAYER_SYSTEMINCLUDE_SYMBIAN
1.34 +
1.35 +macro BUS_TYPE=(DIicBusChannel::EI2c)
1.36 +
1.37 +// Select the mode to build
1.38 +// For Master-Slave mode, uncomment both of the two lines that follow
1.39 +macro MASTER_MODE
1.40 +macro SLAVE_MODE
1.41 +
1.42 +// un-comment the following if debug printing is required
1.43 +//macro LOG_I2C
1.44 +
1.45 +// un-comment the following if BTRACE output is required
1.46 +macro IIC_INSTRUMENTATION_MACRO
1.47 +
1.48 +// library iic_testpsl.lib // commented out as this iic_testpsl.lib is now included from iic_channel.mmh
1.49 +
1.50 +uid 0x100039d0 0x10286b50
1.51 +VENDORID 0x70000001
1.52 +
1.53 +//library ecust.lib
1.54 +#ifdef WINS
1.55 +library emulator.lib
1.56 +#endif
1.57 +
1.58 +start wins
1.59 +win32_library kernel32.lib
1.60 +#if defined(VC32)
1.61 +win32_library msvcrt.lib
1.62 +#endif
1.63 +end
1.64 +
1.65 +SMPSAFE