Spen wrote:
> Hi,
>
> I notice there has been a few changes to the target scripts !!
> [new_target_name] configure -event reset-start { jtag_khz 10 }
>
> should the docs be updated to suit?
> I would but do not have a clue what it all means.
>
> we probably need a sentence or two on converting from the old syntax.
>   
Yes, I did write some stuff up - it is not yet in the "formal docs" - 
that is my bad :-(

See:   $(openocd)/doc/README_TARGET_COMMAND.txt

And before you ask, the [new_target_name] is not documented.

I should have done so.

FYI, the command:  "new_target_name" - prints the name of the most 
recent target that was added.

The [square-quotes] is a TCL way of doing BASH back ticks, if it where 
BASH one would do this:

TCL syntax:
    [new_target_name]  configure -event reset-start { jtag_khz 10 }

the 'moral-equal' in bash would be {and  OpenOCD is TCL, not BASH}

     `new_target_name`  configure -event reset-start ' jtag_khz 10 '

-Duane.





_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to