⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build-test.tcf

📁 这是一个串口测试程序
💻 TCF
字号:
/*
 *  ======== build-test.tcf ========
 *
 *! Revision History
 *! ================
 *! 27-Jun-2003 mw Created.
 *
 * To create test.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-test.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;

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

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

⌨️ 快捷键说明

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