|
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-CDB2DD00-482D-5AEA-AF89-064C8F904DD9" xml:lang="en"><title>Set |
|
13 Up</title><shortdesc>Describes how to use the template port to start your port.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>There is a template DMA Framework consisting of the source file <filepath>dmapsl.cpp</filepath>, |
|
15 and the mmp file <filepath>dma.mmp</filepath> located in the directory <filepath>...\template\dma</filepath> that |
|
16 can be used as the starting point for your DMA PSL port. You need to: </p> |
|
17 <ul> |
|
18 <li id="GUID-2BDEC332-6B6C-5FF4-9B61-C915E43345F5"><p>Decide which directory |
|
19 your DMA PSL and associated <filepath>.mmp</filepath> file are to be stored |
|
20 in. You would normally choose the Variant or the ASSP directory. </p> </li> |
|
21 <li id="GUID-C971FA47-8535-504C-AC37-37280C3EA9DE"><p>Copy the template framework |
|
22 into your chosen location. Be aware that the template <filepath>dma.mmp</filepath> file |
|
23 contains relative paths that must be updated. </p> </li> |
|
24 <li id="GUID-D18C8A72-9371-5467-ABA4-DC0D76B10D90"><p>Change the Variant's <filepath>bld.inf</filepath> file |
|
25 to include a reference to your mmp file. </p> </li> |
|
26 </ul> |
|
27 <p>The remainder of this porting guide refers to the implementation of the |
|
28 DMA Framework for the template ASSP, which forms the basis for the template |
|
29 reference board; the source file can be found in <filepath>..\template_assp\dmapsl.cpp</filepath> and |
|
30 the mmp file in <filepath>...\template_assp\dma.mmp</filepath>. </p> |
|
31 </conbody></concept> |