sl@0
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// e32test/iic/iic_psl/i2c.mmp
|
sl@0
|
15 |
//
|
sl@0
|
16 |
|
sl@0
|
17 |
macro IIC_SIMULATED_PSL
|
sl@0
|
18 |
#define IIC_SIMULATED_PSL /*Only for iic_channel.mmh to pick up the needed iic_testpsl.lib*/
|
sl@0
|
19 |
#include "../../../../kernel/eka/drivers/iic/iic_channel.mmh"
|
sl@0
|
20 |
|
sl@0
|
21 |
target i2c.pdd
|
sl@0
|
22 |
targettype pdd
|
sl@0
|
23 |
|
sl@0
|
24 |
sourcepath ../../../../kernel/eka/drivers/iic
|
sl@0
|
25 |
source IIC_PIL_SOURCE
|
sl@0
|
26 |
|
sl@0
|
27 |
sourcepath .
|
sl@0
|
28 |
source i2c.cpp
|
sl@0
|
29 |
|
sl@0
|
30 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
|
sl@0
|
31 |
|
sl@0
|
32 |
macro BUS_TYPE=(DIicBusChannel::EI2c)
|
sl@0
|
33 |
|
sl@0
|
34 |
// Select the mode to build
|
sl@0
|
35 |
// For Master-Slave mode, uncomment both of the two lines that follow
|
sl@0
|
36 |
macro MASTER_MODE
|
sl@0
|
37 |
macro SLAVE_MODE
|
sl@0
|
38 |
|
sl@0
|
39 |
// un-comment the following if debug printing is required
|
sl@0
|
40 |
//macro LOG_I2C
|
sl@0
|
41 |
|
sl@0
|
42 |
// un-comment the following if BTRACE output is required
|
sl@0
|
43 |
macro IIC_INSTRUMENTATION_MACRO
|
sl@0
|
44 |
|
sl@0
|
45 |
// library iic_testpsl.lib // commented out as this iic_testpsl.lib is now included from iic_channel.mmh
|
sl@0
|
46 |
|
sl@0
|
47 |
uid 0x100039d0 0x10286b50
|
sl@0
|
48 |
VENDORID 0x70000001
|
sl@0
|
49 |
|
sl@0
|
50 |
//library ecust.lib
|
sl@0
|
51 |
#ifdef WINS
|
sl@0
|
52 |
library emulator.lib
|
sl@0
|
53 |
#endif
|
sl@0
|
54 |
|
sl@0
|
55 |
start wins
|
sl@0
|
56 |
win32_library kernel32.lib
|
sl@0
|
57 |
#if defined(VC32)
|
sl@0
|
58 |
win32_library msvcrt.lib
|
sl@0
|
59 |
#endif
|
sl@0
|
60 |
end
|
sl@0
|
61 |
|
sl@0
|
62 |
SMPSAFE
|