<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/transport, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/transport?h=master</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/transport?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2020-01-14T11:40:25Z</updated>
<entry>
<title>adi_v5_dapdirect: add support for adapter drivers that provide DAP API</title>
<updated>2020-01-14T11:40:25Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-01-23T09:52:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a61ec3c1d73dc0c9915662f7b9383b6f786a5fea'/>
<id>urn:sha1:a61ec3c1d73dc0c9915662f7b9383b6f786a5fea</id>
<content type='text'>
Some high level adapters, like STLINK-V3 and new firmware for
ST-Link/V2, provide API to directly access the DAP registers
hiding the details of the physical transport JTAG or SWD.
OpenOCD has already the intermediate API in struct dap_ops that
are suitable for such adapters, but are not exposed to the
adapter drivers.

Add in struct adapter_driver two independent struct dap_ops for
the cases of physical JTAG and SWD transport.
Add new transport names "dapdirect_jtag" and "dapdirect_swd", to
be used by the drivers that provide one or both DAP API.
Add the necessarily glue in target/adi_v5_dapdirect.c

Change-Id: I2bb8e3a80fba750f2c218d877cfa5888428e3c28
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/4903
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>helper/command: change prototype of command_print/command_print_sameline</title>
<updated>2019-05-14T18:37:11Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-04-03T08:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6cb5ba6f1136df2986850f5c176cb38e34ca1795'/>
<id>urn:sha1:6cb5ba6f1136df2986850f5c176cb38e34ca1795</id>
<content type='text'>
To prepare for handling TCL return values consistently, all calls
to command_print/command_print_sameline should switch to CMD as
first parameter.

Change prototype of command_print() and command_print_sameline()
to pass CMD instead of CMD_CTX.
Since the first parameter is currently not used, the change can be
done though scripts without manual coding.
This patch is created using the command:
	sed -i PATTERN $(find src/ doc/ -type f)
with all the following patters:
	's/\(command_print(cmd\)-&gt;ctx,/\1,/'
	's/\(command_print(CMD\)_CTX,/\1,/'
	's/\(command_print(struct command_\)context \*context,/\1invocation *cmd,/'
	's/\(command_print_sameline(cmd\)-&gt;ctx,/\1,/'
	's/\(command_print_sameline(CMD\)_CTX,/\1,/'
	's/\(command_print_sameline(struct command_\)context \*context,/\1invocation *cmd,/'

This change is inspired by http://openocd.zylin.com/1815 from Paul
Fertser but is now done through scripting.

Change-Id: I3386d8f96cdc477e7a2308dd18269de3bed04385
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5081
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>configure: disable all drivers when zy1000 is enabled</title>
<updated>2018-04-09T08:04:46Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2018-03-21T15:40:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=70b15f989f09428a85d6e52d8a03dc902081eb01'/>
<id>urn:sha1:70b15f989f09428a85d6e52d8a03dc902081eb01</id>
<content type='text'>
This also fixes the transport_is_hla FIXME.

Change-Id: I33960f373f11e3e203f9aed9c6d02bf7ca48ac97
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/4473
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>transport: add transport_is_hla()</title>
<updated>2018-03-20T11:48:44Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2018-03-15T19:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=78a44055c50f4ea10ebb14714c4b6563cd64f71b'/>
<id>urn:sha1:78a44055c50f4ea10ebb14714c4b6563cd64f71b</id>
<content type='text'>
and move declaration of all transport_is_xxx() functions to transport.h

Change-Id: Ib229115b5017507b49655bc43b517ab6fb32f7a6
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/4469
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky &lt;matthias@welwarsky.de&gt;
</content>
</entry>
<entry>
<title>Convert to non-recursive make</title>
<updated>2016-12-08T16:23:10Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2016-11-06T19:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=5be455a710c57bbbbd49c2d671b42098db7be5dc'/>
<id>urn:sha1:5be455a710c57bbbbd49c2d671b42098db7be5dc</id>
<content type='text'>
Change-Id: I11f8bc8553957e2ff083c09e72e16881e4d3bb6f
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/3865
Tested-by: jenkins
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>Make #include guard naming consistent</title>
<updated>2016-05-24T21:30:55Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2015-09-21T19:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=d4b7cbff88bb5eb14fececdbd8e2a0b3e58ce6e0'/>
<id>urn:sha1:d4b7cbff88bb5eb14fececdbd8e2a0b3e58ce6e0</id>
<content type='text'>
Change-Id: Ie13e8af0bb74ed290f811dcad64ad06c9d8cb4fa
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2956
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove FSF address from GPL notices</title>
<updated>2016-05-24T21:30:01Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2016-05-16T20:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69'/>
<id>urn:sha1:d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69</id>
<content type='text'>
Also make GPL notices consistent according to:
https://www.gnu.org/licenses/gpl-howto.html

Change-Id: I84c9df40a774958a7ed91460c5d931cfab9f45ba
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/3488
Tested-by: jenkins
Reviewed-by: Andreas Färber &lt;afaerber@suse.de&gt;
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>transport: make 'transport select' auto-select the first available transport if not set</title>
<updated>2015-03-25T21:32:49Z</updated>
<author>
<name>Angus Gratton</name>
<email>gus@projectgus.com</email>
</author>
<published>2015-02-24T21:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=d90b86d8e35f4f681eb341ca534985eb1046cc59'/>
<id>urn:sha1:d90b86d8e35f4f681eb341ca534985eb1046cc59</id>
<content type='text'>
This should allow most of the existing configurations for older
versions to remain compatible without forcing the user to change his
or her config to explicitly select transport.

Also in some circumstances can remove the need to chain a "-c transport
select X" when building custom configs on the command line, which seems
like a common new user pitfall.

Change-Id: Ic87a38c0b9b88e88fb6d106385efce2f39381d3d
Suggested-by: Petteri Aimonen &lt;jpa@git.mail.kapsi.fi&gt;
Signed-off-by: Angus Gratton &lt;gus@projectgus.com&gt;
Reviewed-on: http://openocd.zylin.com/2551
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>transport: clarify error message when transport is not selected</title>
<updated>2015-01-09T08:48:18Z</updated>
<author>
<name>Karl Palsson</name>
<email>karlp@tweak.net.au</email>
</author>
<published>2014-11-21T22:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=881d08ddbd3ff8eac3bb53303868b8976323ce49'/>
<id>urn:sha1:881d08ddbd3ff8eac3bb53303868b8976323ce49</id>
<content type='text'>
When no transport is selected, the error message dumps the available
transports, but not how to actually select one.

Change-Id: I63da2a4b59e3f6cc8d30bd631e41a82636a056ef
Signed-off-by: Karl Palsson &lt;karlp@tweak.net.au&gt;
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2406
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>transport: emit a warning when a user tries to reselect a transport</title>
<updated>2014-08-19T20:19:58Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2014-08-15T07:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=80ea8053329d84157666ed36afb7cff73ab505a6'/>
<id>urn:sha1:80ea8053329d84157666ed36afb7cff73ab505a6</id>
<content type='text'>
Even though changing transport is impossible, reselecting it should be
harmless.

Change-Id: I6c1c2786134e826f47f848b590e6d712b6fd2206
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2251
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
</feed>
