evmdm642.tcf

来自「本软件是TI公司免费提供的网络开发包 现在好象很难找到,有黑心的公司把它改一改,」· TCF 代码 · 共 43 行

TCF
43
字号
/*
 *  Copyright 2006 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *
 *  @(#) TCP/IP_Network_Developers_Kit 1.91.00.08 08-22-2006 (ndk-a08)
 */
// DSP/BIOS Configuration Script for TCP/IP Stack Example Application



// Start with the generic evmDM6446

utils.loadPlatform("ti.platforms.evmDM642");

utils.importFile('helloWorld.tci');



// Board Specifics



// - Create a heap in external memory

bios.SDRAM.createHeap                           = true;

bios.SDRAM.heapSize                             = 0x800000;



// - Configure Board

bios.GBL.CLKOUT                                 = 720.0000;

bios.GBL.C641XCCFGL2MODE                        = "4-way cache (128k)";

bios.GBL.C641XMARCE0                            = 0x0001;



bios.GBL.CALLUSERINITFXN                = 1;

bios.GBL.USERINITFXN                    = prog.extern("dm642_init");



// Move all sections to DDR2 

bios.setMemCodeSections(prog, prog.get("SDRAM"));

bios.setMemDataHeapSections(prog, prog.get("SDRAM"));

bios.setMemDataNoHeapSections(prog, prog.get("SDRAM"));	    			



bios.IRAM.destroy();



// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!



if (config.hasReportedError == false) {

    prog.gen();

}





⌨️ 快捷键说明

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