os/kernelhwsrv/bsptemplate/asspandvariant/template_variant/exiic.mmp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/bsptemplate/asspandvariant/template_variant/exiic.mmp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,71 @@
     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 +// template/template_assp/iic.mmp
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#define __USING_ASSP_REGISTER_API__
    1.22 +#define __USING_ASSP_INTERRUPT_API__
    1.23 +
    1.24 +#include <variant.mmh>
    1.25 +
    1.26 +// Select the mode to build
    1.27 +// For Master-Slave mode, uncomment both MASTER and SLAVE defines
    1.28 +#define __USE_MASTER_MODE__
    1.29 +#define __USE_SLAVE_MODE__
    1.30 +
    1.31 +// PIL source
    1.32 +#include "../../../kernel/eka/drivers/iic/iic_channel.mmh"
    1.33 +sourcepath ../../../kernel/eka/drivers/iic
    1.34 +source		IIC_PIL_SOURCE
    1.35 +
    1.36 +// PSL source: shared
    1.37 +sourcepath    ../template_assp/iic
    1.38 +source        iic_psl.cpp
    1.39 +
    1.40 +// PSL source: Master
    1.41 +#ifdef __USE_MASTER_MODE__
    1.42 +macro MASTER_MODE
    1.43 +source        iic_master.cpp
    1.44 +#endif 
    1.45 +
    1.46 +// PSL source: Slave
    1.47 +#ifdef __USE_SLAVE_MODE__
    1.48 +macro SLAVE_MODE
    1.49 +source        iic_slave.cpp 
    1.50 +#endif
    1.51 +
    1.52 +// define bus type
    1.53 +macro BUS_IMPLMENTATION_PRIORITY=(KExtensionMaximumPriority-2)
    1.54 +
    1.55 +target          VariantTarget(iic,dll)
    1.56 +targettype      kext
    1.57 +
    1.58 +OS_LAYER_SYSTEMINCLUDE_SYMBIAN
    1.59 +//SYMBIAN_BASE_SYSTEMINCLUDE(assp/template_assp)
    1.60 +//SYMBIAN_BASE_SYSTEMINCLUDE(template)
    1.61 +//SYMBIAN_BASE_SYSTEMINCLUDE(template/specific)
    1.62 +
    1.63 +//library			iic.lib			// commented out as this iic.lib is now included from iic_channel.mmh
    1.64 +
    1.65 +library     VariantTarget(gpio,lib)
    1.66 +
    1.67 +
    1.68 +//VENDORID 0x70000001
    1.69 +
    1.70 +//uid			0x100039d0 0x10285812
    1.71 +//capability		all
    1.72 +
    1.73 +SMPSAFE
    1.74 +MACRO               CPU_AFFINITY_ANY