]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/big-data-ipc-examples.git/blob - host_bios/simple_buffer_example/shared/66AK2G/config.bld
host_bios: Add host_bios simple buffer example
[processor-sdk/big-data-ipc-examples.git] / host_bios / simple_buffer_example / shared / 66AK2G / config.bld
1 /*
2  * Copyright (c) 2017 Texas Instruments Incorporated - http://www.ti.com
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * *  Redistributions of source code must retain the above copyright
10  *    notice, this list of conditions and the following disclaimer.
11  *
12  * *  Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * *  Neither the name of Texas Instruments Incorporated nor the names of
17  *    its contributors may be used to endorse or promote products derived
18  *    from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
33 /*
34  *  ======== config.bld ========
35  *
36  */
37 var Build = xdc.useModule('xdc.bld.BuildEnvironment');
39 /*  Memory Map for ti.platforms.evm6638
40  *
41  *    Address          Size             Comment
42  *  -------------------------------------------------------------
43  *    8000_0000     80_0000  (  8 MB)   CORE0_PROG (code, data)
44  *    8080_0000    380_0000  ( 56 MB)   --------
45  *    8400_0000     80_0000  (  8 MB)   HOST_PROG (code, data)
46  *    8480_0000     20_0000  (  2 MB)   SR_0 (ipc)
47  *    84a0_0000   3a60_0000  (182 MB)   SR_1 ( Big data )
48  */
50 var SR_0 = {
51         name: "SR_0", space: "data", access: "RW",
52         base: 0x84800000, len: 0x200000,
53         comment: "SR#0 Memory (2 MB)"
54     };
56 var SR_1 = {
57         name: "SR_1", space: "data", access: "RW",
58         base: 0x84a00000, len: 0x3a600000,
59         comment: "SR#1 Memory (> 2 GB )"
60     };
62 Build.platformTable["ti.platforms.evmTCI66AK2G02:dsp"] = {
63     externalMemoryMap: [
64         [ "DSP_PROG", {
65             name: "DSP_PROG", space: "code/data", access: "RWX",
66             base: 0x80000000, len: 0x800000,
67             comment: "DSP Program Memory (8 MB)"
68         }],
69         [ "SR_0", SR_0 ], 
70         [ "SR_1", SR_1 ]
71     ],
72     codeMemory: "DSP_PROG",
73     dataMemory: "DSP_PROG",
74     stackMemory: "DSP_PROG"
75 };
77 Build.platformTable["ti.platforms.evmTCI66AK2G02:host"] = {
78     externalMemoryMap: [
79         [ "HOST_PROG", {
80             name: "HOST_PROG", space: "code/data", access: "RWX",
81             base: 0x84000000, len: 0x800000,
82             comment: "HOST Program Memory (8 MB)"
83         }],
84         [ "SR_0", SR_0 ], 
85         [ "SR_1", SR_1 ]
86     ],
87     codeMemory:  "HOST_PROG",
88     dataMemory:  "HOST_PROG",
89     stackMemory: "HOST_PROG"
90 };
92 /*
93  *  ======== ti.targets.elf.C66 ========
94  */
95 var C66 = xdc.useModule('ti.targets.elf.C66');
96 C66.ccOpts.suffix += " -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 ";
97 Build.targets.$add(C66);