author | William Roberts <williamr@symbian.org> |
Fri, 05 Mar 2010 15:15:09 +0000 | |
branch | RCL_3 |
changeset 71 | d1c432433c43 |
parent 33 | 0173bcd7697c |
child 90 | 947f0dc9f7a8 |
child 256 | c1f20ce4abcf |
permissions | -rw-r--r-- |
0 | 1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
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__ |
|
20 |
||
21 |
#include <variant.mmh> |
|
22 |
||
23 |
// Select the mode to build |
|
24 |
// For Master-Slave mode, uncomment both MASTER and SLAVE defines |
|
25 |
#define __USE_MASTER_MODE__ |
|
26 |
#define __USE_SLAVE_MODE__ |
|
27 |
||
28 |
// PIL source |
|
29 |
#include "../../../kernel/eka/drivers/iic/iic_channel.mmh" |
|
30 |
sourcepath ../../../kernel/eka/drivers/iic |
|
31 |
source IIC_PIL_SOURCE |
|
32 |
||
33 |
// PSL source: shared |
|
34 |
sourcepath ../template_assp/iic |
|
35 |
source iic_psl.cpp |
|
36 |
||
37 |
// PSL source: Master |
|
38 |
#ifdef __USE_MASTER_MODE__ |
|
39 |
macro MASTER_MODE |
|
40 |
source iic_master.cpp |
|
41 |
#endif |
|
42 |
||
43 |
// PSL source: Slave |
|
44 |
#ifdef __USE_SLAVE_MODE__ |
|
45 |
macro SLAVE_MODE |
|
46 |
source iic_slave.cpp |
|
47 |
#endif |
|
48 |
||
49 |
// define bus type |
|
50 |
macro BUS_IMPLMENTATION_PRIORITY=(KExtensionMaximumPriority-2) |
|
51 |
||
52 |
target VariantTarget(iic,dll) |
|
53 |
targettype kext |
|
54 |
||
55 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
56 |
//SYMBIAN_BASE_SYSTEMINCLUDE(assp/template_assp) |
|
57 |
//SYMBIAN_BASE_SYSTEMINCLUDE(template) |
|
58 |
//SYMBIAN_BASE_SYSTEMINCLUDE(template/specific) |
|
59 |
||
33
0173bcd7697c
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
60 |
//library iic.lib // commented out as this iic.lib is now included from iic_channel.mmh |
0 | 61 |
|
62 |
library VariantTarget(gpio,lib) |
|
63 |
||
64 |
||
65 |
//VENDORID 0x70000001 |
|
66 |
||
67 |
//uid 0x100039d0 0x10285812 |
|
68 |
//capability all |
|
69 |
||
70 |
SMPSAFE |
|
71 |
MACRO CPU_AFFINITY_ANY |