openocd/src/jtag/hla
James G. Smith 0ebf1eb94d hla/stlink: Re-order trace parameters to allow trace output file to be optional
Re-order the "trace" parameters to allow the raw capture (log) file to
be an optional feature. The clock frequency for calculating the "Async
Clock Prescalar" is always required when enabling trace processing and
is now the first "required" parameter.

The ST-Link driver is updated to use the (required parameter)
"trace_source_hz" non-zero value as the indicator of trace being
required, rather than the now optional output file descriptor being
non-NULL.

Background: This patch is groundwork for extending the OpenOCD SWO
capture to implement other (OpenOCD built-in) ITM/DWT processing where
the core trace support is required, but there is no requirement to
store raw trace data to a configured host file. By itself this patch
is almost a functional NOP, since without the other processing in
place there is no reason NOT to specify a capture file.

Change-Id: Ibc385dd0a7adaf9bd652bceded27262fef35fd59
Signed-off-by: James G. Smith <jsmith@ecoscentric.com>
Reviewed-on: http://openocd.zylin.com/1660
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-10-29 22:54:34 +00:00
..
hla_interface.c hla/stlink: Re-order trace parameters to allow trace output file to be optional 2013-10-29 22:54:34 +00:00
hla_interface.h hla: move memory read/write functionality to driver 2013-09-25 13:53:34 +00:00
hla_layout.c hla: move memory read/write functionality to driver 2013-09-25 13:53:34 +00:00
hla_layout.h hla: if the idcode callback returns 0, treat as a wildcard 2013-10-03 11:24:24 +00:00
hla_tcl.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hla_tcl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
hla_transport.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hla_transport.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am target: add deprecated target name support 2012-12-23 21:45:23 +00:00