On Sunday 07 June 2009, Duane Ellis wrote:
> But - today I think what you mean is this:
> 
> Today, all target reset handlers are done like this:  
>     $_targetname  configure -event reset-init  { CURLYBRACE }

They aren't "all" like that, though.  So the solution you list
below can't always work ... though the seeds of a workaround
are found there.


> TCL variable parsing rules mean that things in { CURLYBRACE } are not 
> not expanded right now.
> 
> The *could* be done like this:  
>     $_targetname  configure -event reset-init  "double-quoted-string"
> 
> In the double-quoted case, the "double-quoted" method would cause the 
> embeded $_TARGETNAME to be expanded prior to invoking the "configure" 
> sub command.


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to