www.pudn.com > Audio.rar > tsk_audiocfg.tcf
/*
* This file is used for textual configuration of DSP/BIOS as an alternative
* or in addition to the traditional graphical configuration tool (GCONF).
* For more information on textual configuration and the TCONF utility,
* please refer to the DSP/BIOS TextConf User's Guide (SPRU007).
*/
/*
* ======== tsk_audiocfg.tcf ========
*
* TCF file from which the configuration database is generated.
* It includes individual (TCI) modules in charge of different
* sections of the configuration.
*/
/*
* Define/Set a platformName variable to be used in the application
* configuration
*/
var platformName = "EvmDM642"
/*
* Load the Platform file for the appropriate board
*/
utils.loadPlatform(platformName);
/*
* Now load the TCI file that defines all the software threads.
* This file and all the remaining ones should be hardware-independent.
*/
utils.importFile("tsk_audio.tci");
/*
* Check if there have been errors and generate the configuration
* database file.
*/
if (config.hasReportedError == false) {
prog.gen();
} else {
throw new Error( "Error in config script -- database not generated." );
}