equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-0C8C41EC-A8ED-5916-B944-DDDF20FADAF4" xml:lang="en"><title>Port |
|
13 Implementation Tutorial</title><shortdesc>Steps required to implement a port of the Serial Port Driver. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The actions needed in porting a Serial Port Driver are based on |
|
15 the experience of porting the template reference board port. Note |
|
16 however that the code shown here is idealized to show the basic principles; |
|
17 it is not an exact copy of the template port code. </p> |
|
18 <p>In the template reference board port, the <filepath>.mmp</filepath> for the physical device driver is <filepath>...\template_variant\datxtemplate.mmp</filepath>. This is one of the <codeph>PRJ_MMPFILES</codeph> referenced |
|
19 in the variant's <filepath>bld.inf</filepath> in the <filepath>...\template_variant\...</filepath> directory, and means that the Serial Port Driver is built as part |
|
20 of the variant. The source for the driver is contained entirely within <filepath>...\template_variant\specific\uart.cpp</filepath>. </p> |
|
21 </conbody></concept> |