appboard.tci

来自「DSP体系结构实现与应用源代码」· TCI 代码 · 共 58 行

TCI
58
字号
/*
 *  Copyright 2003 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.
 *  
 */
/* "@(#) ReferenceFrameworks 2.20.00.08 07-18-03 (swat-f02)" */
/*
 *  ======== appBoard.tci ========
 *
 *  Platform-specific portion of the configuration database script
 */

/*
 *  Define hardware specific parameters used in determining size of pipe
 *  frames when pipes are created
 */
APPMONOCODEC      = true;  /* AD50 is mono codec; we simulate stereo/N-ch. */
APPSAMPLESIZE     = 2;     /* sample size in 8-bit bytes (octets) */
APPINOUTPIPALIGN  = 2;     /* in/out pipes are 2-word aligned */
APPINOUTPIPBUFSEG = tibios.IDATA; /* memory segment where in/out 
                                   * pipes are located */
APPRTDXAVAILABLE  = true;  /* Define/set RTDX application variable */
APPUSEDEVICEPARAMS = true; /* Define/set variable to over-ride default 
                            * IOM driver parameters */

/* 
 *  Links in the DSP/BIOS instrumented kernal
 */
bios.enableRealTimeAnalysis(prog);

/* 
 *  Links in RTDX only if board supports it.
 */
if(APPRTDXAVAILABLE) {
    bios.enableRtdx(prog);
}

/* 
 *  Import the board specific MEM creation, setup and placement
 */
utils.importFile(platformName + "_mem.tci");

/*
 *  Import the board specific IOM driver configuration
 */
utils.importFile(platformName + "_udevCodec.tci");

/*
 *  Override the default params values for IOM UdevCodec
 */
if (APPUSEDEVICEPARAMS) {
    udevCodec.params = prog.extern(platformName.toUpperCase() + "_DEVPARAMS");
}


⌨️ 快捷键说明

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