📄 targets.cfg
字号:
#################################################################################### File: $Id: targets.cfg,v 1.1.1.1 2002/01/29 15:38:47 becket_t Exp $## History:#### Notes: DCU toolset target definitions#### Copyright [2000] Pace Micro Technology PLC. All rights reserved.#### The copyright in this material is owned by Pace Micro Technology PLC## ("Pace"). This material is regarded as a highly confidential trade secret of## Pace. It may not be reproduced, used, sold or in any other way exploited or## transferred to any third party without the prior written permission of Pace.##################################################################################### TAP_ARGS is used to define the arguments to the target type 'tap'.## The default is to use the parallel interface, but JEI can be specified## in one of the local config files ($ST20ROOT/st20rc or $HOME/st20.rc) ## with TAP_ARGS="jei_soc <ip_address>".## Explicit targets are provided for JPI and JEI.## JPI_PORT defines which parallel port the JPI interface is connected toif (!(clsymbol JPI_PORT)) { JPI_PORT="lpt1"}## JEI_IP defines the numeric IP address or hostname of your JEI.if (!(clsymbol JEI_IP)) { JEI_IP=""}if (!(clsymbol TAP_ARGS)) { TAP_ARGS="ppi " + JPI_PORT}################################################################################### Targets_Create(str progname, str tgtproc)## create instances of targets defined by a program name (progname) and a target## procedure to run (tgtproc)## For example create_targets("main", "go") will create targets named "main",## "main_jpi" and "main_jei". These will all call the procedure "go".proc Targets_Create progname=$1 tgtproc=$2 { target (progname) tap (TAP_ARGS) (tgtproc) target ((progname) + "_jpi") tap ("ppi " + JPI_PORT) (tgtproc) target ((progname) + "_jei") tap ("jei_soc " + JEI_IP) (tgtproc)}############################################################################## Targets for run procedures - These may not all run!!############################################################################target t_htiramdebug tap "jei 127.0.0.1" htiramdebugtarget t_htiromdebugmain tap "jei 127.0.0.1" htiromdebugmaintarget t_htihostboot tap "jei 127.0.0.1" htihostboottarget t_jpiramdebug tap "jei 127.0.0.1" jpiramdebugtarget t_jpiromdebugmain tap "jei 127.0.0.1" jpiromdebugmaintarget t_jpihostboot tap "jei 127.0.0.1" jpihostboottarget t_jeiramdebug tap "jei 127.0.0.1 tckdiv=4" jeiramdebugtarget t_jeiromdebugmain tap "jei 127.0.0.1 tckdiv=4" jeiromdebugmaintarget t_jeihostboot tap "jei 127.0.0.1 tckdiv=4" jeihostboot### EOF ########################################################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -