build-ledprd.tcf
来自「TI evm642的源码,给那些没有买TI的评估板,却想要评估板程序的人.」· TCF 代码 · 共 43 行
TCF
43 行
/*
* ======== build-ledprd.tcf ========
*
*! Revision History
*! ================
*! 27-Jun-2003 mw Created.
*
* To create ledprd.cdb:
*
* 1) Open a Windows command prompt window and cd to the root of your Code
* Composer installation directory (normally c:\ti). Type dosrun in the
* command prompt window to execute dosrun.bat which adds the Code
* Composer command line utilities to your automatic search path.
*
* 2) Modify the prog.load statement below to reflect the location of your
* Code Composer installation directory if it is not in c:\ti.
*
* 3) Execute the following command in your command prompt window:
*
* tconf build-ledprd.tcf
*/
/* Load DM642 CDB seed file */
prog.load("c:/ti/c6000/bios/include/dm642.cdb");
/* Get program objects */
utils.getProgObjs(prog);
/* Disable Task Manager */
TSK.ENABLETSK = 0;
/* Disable memory heaps */
MEM.NOMEMORYHEAPS = 1;
/* Define the PRD blinkLED0 */
var blinkLED = PRD.create("PRD_blinkLED0");
blinkLED.comment = "Toggles LED #0 every 200ms";
blinkLED.fxn = prog.extern("blinkLED0");
blinkLED.period = 200;
/* Generate .cdb file */
prog.gen("ledprd");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?