pip_audiocfg.tcf
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1k
- /*
- * 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).
- */
- /*
- * ======== pip_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 = "Dsk6711"
- /*
- * 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("pip_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." );
- }