post.tcf

来自「dsp6713开发板的许多例程.对入门特别有用」· TCF 代码 · 共 39 行

TCF
39
字号
/*
 *  ======== post.tcf ========
 *
 *! Revision History
 *! ================
 *! 12-Dec-2003 mw Shortened tconf path
 *! 28-Jan-2003 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.tiRoot="%TI_DIR%" post.tcf
 * 
 */

/* Load 6713 DSK platform */
utils.loadPlatform("Dsk6713");

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

/* Set CPU frequency to 225MHz */
GBL.CLKOUT = 225.0000;

/* Insert BOOT memory section and adjust ISRAM */
IRAM.len = 0x0002fb00;
IRAM.base = 0x00000400;
BOOT = MEM.create("BOOT");
BOOT.len = 0x00000400;
BOOT.base = 0x00000000;

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

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

⌨️ 快捷键说明

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