]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcbsp-lld.git/blob - example/omapl138/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg
PRSDK-3513 Adding makefile for mcbsp component
[keystone-rtos/mcbsp-lld.git] / example / omapl138 / MCBSPDigLpbk / mcbspMasterDigLpbk.cfg
1 /*
2  *  Copyright 2012 by Texas Instruments Incorporated.
3  *
4  *  All rights reserved. Property of Texas Instruments Incorporated.
5  *  Restricted rights to use, duplicate or disclose this code are
6  *  granted through contract.
7  *
8  */
10 /* THIS FILE WAS GENERATED BY ti.sysbios.genx */
12 /*
13  *  ======== mcbspMasterDigLpbk.cfg ========
14  *
15  */
17 /* Load and use the required BIOS packages */
18 var BIOS    = xdc.useModule('ti.sysbios.BIOS');
19 var Task    = xdc.useModule('ti.sysbios.knl.Task');
20 var cache   = xdc.useModule('ti.sysbios.hal.Cache');
21 var Idle    = xdc.useModule('ti.sysbios.knl.Idle');
22 var Queue   = xdc.useModule('ti.sysbios.knl.Queue');
23 var ECM     = xdc.useModule('ti.sysbios.family.c64p.EventCombiner');
24 //var CpIntc  = xdc.useModule('ti.sysbios.family.c66.tci66xx.CpIntc');
25 var Memory  = xdc.useModule('xdc.runtime.Memory');
26 var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
28 /* Load and use the System Package */
29 var System = xdc.useModule('xdc.runtime.System');
30 var SysStd    = xdc.useModule('xdc.runtime.SysStd');
32 /* Create a default system heap using ti.bios.HeapMem. */
33 var heapMemParams1         = new HeapMem.Params;
34 heapMemParams1.size        = 32768;
35 heapMemParams1.sectionName = "systemHeap";
36 Program.global.heap0       = HeapMem.create(heapMemParams1);
38 /* This is the default memory heap. */
39 Memory.defaultHeapInstance = Program.global.heap0;
41 /*
42  * Create and install logger for the whole system.
43  * Enable Event Groups here and registering of ISR for specific GEM INTC is done
44  * using EventCombiner_dispatchPlug() and Hwi_eventMap() APIs
45  */
46 ECM.eventGroupHwiNum[0] = 7;
47 ECM.eventGroupHwiNum[1] = 8;
48 ECM.eventGroupHwiNum[2] = 9;
49 ECM.eventGroupHwiNum[3] = 10;
51 /* Load and use the CSL, EDMA, PlatformLib etc. packages */
52 //var cslSettings = xdc.useModule ('ti.csl.Settings');
53 var Edma = xdc.loadPackage('ti.sdo.edma3.drv');
54 //var PlatformLib = xdc.loadPackage('ti.platform.evmc6657l');
56 /* Circular buffer size for System_printf() */
57 System.SupportProxy = SysStd;