author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 11 Jun 2010 15:02:23 +0300 | |
changeset 152 | 657f875b013e |
parent 109 | b3a1d9898418 |
permissions | -rw-r--r-- |
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
1 |
// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 2 |
// All rights reserved. |
3 |
// This component and the accompanying materials are made available |
|
4 |
// under the terms of the License "Eclipse Public License v1.0" |
|
5 |
// which accompanies this distribution, and is available |
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
// |
|
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// template/template_assp/iic.mmp |
|
15 |
// |
|
16 |
// |
|
17 |
||
18 |
#define __USING_ASSP_REGISTER_API__ |
|
19 |
#define __USING_ASSP_INTERRUPT_API__ |
|
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
20 |
#define __USING_MHA_GPIO_API__ |
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
21 |
|
0 | 22 |
|
23 |
#include <variant.mmh> |
|
24 |
||
25 |
// Select the mode to build |
|
26 |
// For Master-Slave mode, uncomment both MASTER and SLAVE defines |
|
27 |
#define __USE_MASTER_MODE__ |
|
28 |
#define __USE_SLAVE_MODE__ |
|
29 |
||
30 |
// PIL source |
|
31 |
#include "../../../kernel/eka/drivers/iic/iic_channel.mmh" |
|
32 |
sourcepath ../../../kernel/eka/drivers/iic |
|
33 |
source IIC_PIL_SOURCE |
|
34 |
||
35 |
// PSL source: shared |
|
36 |
sourcepath ../template_assp/iic |
|
37 |
source iic_psl.cpp |
|
38 |
||
39 |
// PSL source: Master |
|
40 |
#ifdef __USE_MASTER_MODE__ |
|
41 |
macro MASTER_MODE |
|
42 |
source iic_master.cpp |
|
43 |
#endif |
|
44 |
||
45 |
// PSL source: Slave |
|
46 |
#ifdef __USE_SLAVE_MODE__ |
|
47 |
macro SLAVE_MODE |
|
48 |
source iic_slave.cpp |
|
49 |
#endif |
|
50 |
||
51 |
// define bus type |
|
52 |
macro BUS_IMPLMENTATION_PRIORITY=(KExtensionMaximumPriority-2) |
|
53 |
||
54 |
target VariantTarget(iic,dll) |
|
55 |
targettype kext |
|
56 |
||
57 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
58 |
//SYMBIAN_BASE_SYSTEMINCLUDE(assp/template_assp) |
|
59 |
//SYMBIAN_BASE_SYSTEMINCLUDE(template) |
|
60 |
//SYMBIAN_BASE_SYSTEMINCLUDE(template/specific) |
|
61 |
||
62 |
||
63 |
//VENDORID 0x70000001 |
|
64 |
||
65 |
//uid 0x100039d0 0x10285812 |
|
66 |
//capability all |
|
67 |
||
68 |
SMPSAFE |
|
69 |
MACRO CPU_AFFINITY_ANY |