bsptemplate/asspandvariant/template_variant/exiic.mmp
author Mike Kinghan <mikek@symbian.org>
Tue, 27 Jul 2010 07:53:26 +0100
branchGCC_SURGE
changeset 236 7dc50dc94301
parent 109 b3a1d9898418
permissions -rw-r--r--
1) Fix for bug 3413 - [GCCE] Namespace 'abi' not declared in e32test build. 2) Revert fix for bug 3389; fix for 3431 replaces it. 3) Correct typo in fix for bug 3391.

// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// template/template_assp/iic.mmp
// 
//

#define __USING_ASSP_REGISTER_API__
#define __USING_ASSP_INTERRUPT_API__
#define __USING_MHA_GPIO_API__


#include <variant.mmh>

// Select the mode to build
// For Master-Slave mode, uncomment both MASTER and SLAVE defines
#define __USE_MASTER_MODE__
#define __USE_SLAVE_MODE__

// PIL source
#include "../../../kernel/eka/drivers/iic/iic_channel.mmh"
sourcepath ../../../kernel/eka/drivers/iic
source		IIC_PIL_SOURCE

// PSL source: shared
sourcepath    ../template_assp/iic
source        iic_psl.cpp

// PSL source: Master
#ifdef __USE_MASTER_MODE__
macro MASTER_MODE
source        iic_master.cpp
#endif 

// PSL source: Slave
#ifdef __USE_SLAVE_MODE__
macro SLAVE_MODE
source        iic_slave.cpp 
#endif

// define bus type
macro BUS_IMPLMENTATION_PRIORITY=(KExtensionMaximumPriority-2)

target          VariantTarget(iic,dll)
targettype      kext

OS_LAYER_SYSTEMINCLUDE_SYMBIAN
//SYMBIAN_BASE_SYSTEMINCLUDE(assp/template_assp)
//SYMBIAN_BASE_SYSTEMINCLUDE(template)
//SYMBIAN_BASE_SYSTEMINCLUDE(template/specific)


//VENDORID 0x70000001

//uid			0x100039d0 0x10285812
//capability		all

SMPSAFE
MACRO               CPU_AFFINITY_ANY