[keystone-rtos/edma3_lld.git] / examples / edma3_driver / evmTI814x_M3 / rtsc_config / edma3_drv_bios6_ti814x_m3video_st_sample.cfg
1 /*use modules*/
2 var Task = xdc.useModule ("ti.sysbios.knl.Task");
3 var BIOS = xdc.useModule ("ti.sysbios.BIOS");
4 var Startup = xdc.useModule ("xdc.runtime.Startup");
5 var System = xdc.useModule ("xdc.runtime.System");
6 var Log = xdc.useModule ("xdc.runtime.Log");
7 var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
8 var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
9 var Cache0 = xdc.useModule('ti.sysbios.hal.Cache');
10 var Error = xdc.useModule('xdc.runtime.Error');
11 var HwiM3 = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
12 var Program = xdc.useModule("xdc.cfg.Program");
15 /* ISR/SWI stack */
16 Program.stack = 0x4000;
18 /* Heap used when creating semaphore's, TSK's or malloc() ... */
19 Program.heap = 0x15000;
21 /* enable print of exception handing info */
22 HwiM3.enableException = true;
24 /* DSP/BIOS expects this to set to 1 */
25 var Core = xdc.useModule('ti.sysbios.family.arm.ducati.Core');
26 Core.id = 0;
28 /* USE EDMA3 Sample App */
29 //xdc.loadPackage('ti.sdo.edma3.drv.sample');
31 /* MMU/Cache related configurations */
33 var Cache1 = xdc.useModule('ti.sysbios.hal.unicache.Cache');
34 var Mmu = xdc.useModule('ti.sysbios.hal.ammu.AMMU');
35 var AmmuCfg = xdc.loadCapsule("AmmuCfg.cfg");
36 AmmuCfg.init();
38 Program.sectMap[".my_sect_ddr"] = "DDR3_RAM";
40 /* Enable the cache */
41 Cache1.enableCache = true;