transport::name is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

transport::name field

Each transport has a unique name, used to select it from among the alternatives. Examples might include "jtag", * "swd", "AVR_ISP" and more.

Syntax

const char *name;

References

LocationReferrerText
transport.h:41
const char *name;
adi_v5_dapdirect.c:210
.name = "dapdirect_jtag",
adi_v5_dapdirect.c:216
.name = "dapdirect_swd",
adi_v5_swd.c:762
.name = "swd",
core.c:1814
.name = "jtag",
core.c:1859adapter_resets()
core.c:1875adapter_resets()
core.c:1894adapter_assert_reset()
core.c:1911adapter_deassert_reset()
hla_transport.c:180hl_transport_init()
LOG_DEBUG("current transport %s", transport->name);
hla_transport.c:185hl_transport_init()
if (strcmp(transport->name, "hla_swd") == 0)
hla_transport.c:187hl_transport_init()
else if (strcmp(transport->name, "hla_jtag") == 0)
hla_transport.c:216
.name = "hla_swd",
hla_transport.c:223
.name = "hla_jtag",
swim.c:139
.name = "swim",
transport.c:63transport_select()
if (strcmp(t->name, name) == 0) {
transport.c:72transport_select()
LOG_ERROR("Error selecting '%s' as transport", t->name);
transport.c:134transport_register()
if (strcmp(t->name, new_transport->name) == 0) {
transport.c:141transport_register()
LOG_ERROR("invalid transport %s", new_transport->name);
transport.c:146transport_register()
LOG_DEBUG("register '%s'", new_transport->name);
transport.c:196transport_list_parse()
if (strcmp(t->name, CMD_ARGV[i]) != 0)
transport.c:244handle_transport_list()
command_print(CMD, "\t%s", t->name);
transport.c:273handle_transport_select()
command_print(CMD, "%s", session->name);
transport.c:279handle_transport_select()
if (!strcmp(session->name, CMD_ARGV[0])) {
transport.c:280handle_transport_select()
LOG_WARNING("Transport \"%s\" was already selected", session->name);