evmdm6437.tcf

来自「详细说明:在evmdm6437上实现dsp与主机之间的通信实例」· TCF 代码 · 共 60 行

TCF
60
字号
/*
 *  ============================================================
 *  Copyright 2007 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  ============================================================
 *  Automated Revision Information
 *  Changed: $Date: 2007-09-14 07:27:44 -0700 (Fri, 14 Sep 2007) $
 *  Revision: $Revision: 4012 $ 
 */
/* 
 *  ======== evmdm6437.tcf ========
 *
 *  Configuration Script for NDK benchmark application
 */

// Start with the generic evmDM6437
utils.loadPlatform("ti.platforms.evmDM6437");

// Load application specific configuration file
utils.importFile('../common/nonCopyTCPTester.tci');

// Check that stack size is big enough for the application
if (bios.MEM.STACKSIZE < 0x1000) {
	bios.MEM.STACKSIZE += 0x1000;
}

// Setup the L2 Cache and MAR bits
bios.GBL.C64PLUSL2CFG = "128k";
bios.GBL.C64PLUSMAR128to159 = 0x00000001;

// Board specific settings

// Create a heap in external memory
bios.DDR2.createHeap = true;
bios.DDR2.heapSize = 0x00020000;
bios.setMemDataHeapSections(prog, prog.get("DDR2"));

// Configure Board
bios.GBL.CALLUSERINITFXN = 1;
bios.GBL.USERINITFXN = prog.extern("dm6437_init");

// Move all sections to DDR2 
bios.setMemCodeSections(prog, prog.get("DDR2"));
bios.setMemDataHeapSections(prog, prog.get("DDR2"));
bios.setMemDataNoHeapSections(prog, prog.get("DDR2"));	    			


// Remove IRAM since we've set L2 to be cache
bios.IRAM.destroy();

// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

if (config.hasReportedError == false) {
    prog.gen();
}


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?