post.tcf

来自「MSP430与DSP接口技术2 编辑环境C语言,未试过,仅供参考」· TCF 代码 · 共 46 行

TCF
46
字号
/*
 *  ======== post.tcf ========
 *
 *! Revision History
 *! ================
 *! 03-Jul-2002 mw Created.
 *
 * To create post.cdb, run Dosrun.bat in your Code Composer install directory
 * then go to the example directory and type the following at the command line:
 * tconf -Dconfig.importPath="%TI_DIR%\c5500\dsk5510\include" 
 *       -Dconfig.tiRoot="%TI_DIR%" post.tcf
 * 
 */

/* Load 5510 DSK platform */
utils.loadPlatform("Dsk5510");

/* Get program objects */
utils.getProgObjs(prog);

/* Enable all heaps, RTDX, Real Time Analysis, and the Task Mangager */
bios.enableFullBios(prog);

/* Set memory model to large mode */
GBL.MEMORYMODEL = "LARGE";

/* Disable Task Manager */
TSK.ENABLETSK = 0;

/* Import AIC23 module definitions */
utils.importFile("dsk5510_aic23.tci");

/* Import POST specific module definitions */
utils.importFile("post.tci");

/* Disable RTDX, no host when POST is running */
GBL.ENABLEINST = false;
GBL.ENABLEALLTRC = false;

/* Insert timer ISR */
HWI_INT22.fxn = prog.extern("sleepIsr");
HWI_INT22.useDispatcher = 1;

/* Generate .cdb file */
prog.gen("post");

⌨️ 快捷键说明

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