⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noncopytcptestee.tci

📁 详细说明:在evmdm6437上实现dsp与主机之间的通信实例
💻 TCI
字号:
/*
 *  ============================================================
 *  (c) 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-10-15 15:13:14 -0700 (Mon, 15 Oct 2007) $
 *  Revision: $Revision: 4244 $
*/
/*
 *  ======== nonCopyTCPTestee.tci ========
 *
 *  Non-copy TCP testee common configuration script
 */
utils.importFile('ndk.tci');

/* The following DSP/BIOS Features are enabled.  */
bios.enableMemoryHeaps(prog);
bios.enableRealTimeAnalysis(prog);
bios.enableRtdx(prog);
bios.enableTskManager(prog);

bios.tskNdkStackTest 			= bios.TSK.create("tskNdkStackTest");
bios.tskNdkStackTest.fxn 		= prog.extern("StackTest");
bios.tskNdkStackTest.stackSize 		= 0x1000;
bios.tskNdkStackTest.priority 		= 0x5;

/*  Load the THRLOAD module configuration file */
var THRLOAD = new Object();
THRLOAD.useIdle = true;  /* Use IDL thread to periodically update benchmarks */
utils.importFile( "thrload.tci" );

// LOG object to display CPU load & other key data
var logTrace      = bios.LOG.create( "logTrace" );
logTrace.comment  = "default LOG object for application messages";
logTrace.logType  = "circular";
logTrace.bufLen   = 1024;

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

⌨️ 快捷键说明

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