OpenOCD
rtt/tcl.c File Reference
Include dependency graph for rtt/tcl.c:

Go to the source code of this file.

Macros

#define CHANNEL_NAME_SIZE   128
 

Functions

 COMMAND_HANDLER (handle_channel_list)
 
 COMMAND_HANDLER (handle_rtt_channels_command)
 
 COMMAND_HANDLER (handle_rtt_polling_interval_command)
 
 COMMAND_HANDLER (handle_rtt_setup_command)
 
 COMMAND_HANDLER (handle_rtt_start_command)
 
 COMMAND_HANDLER (handle_rtt_stop_command)
 

Variables

static const struct command_registration rtt_subcommand_handlers []
 
const struct command_registration rtt_target_command_handlers []
 

Macro Definition Documentation

◆ CHANNEL_NAME_SIZE

#define CHANNEL_NAME_SIZE   128

Definition at line 16 of file rtt/tcl.c.

Function Documentation

◆ COMMAND_HANDLER() [1/6]

◆ COMMAND_HANDLER() [2/6]

◆ COMMAND_HANDLER() [3/6]

COMMAND_HANDLER ( handle_rtt_polling_interval_command  )

◆ COMMAND_HANDLER() [4/6]

◆ COMMAND_HANDLER() [5/6]

COMMAND_HANDLER ( handle_rtt_start_command  )

◆ COMMAND_HANDLER() [6/6]

COMMAND_HANDLER ( handle_rtt_stop_command  )

Definition at line 66 of file rtt/tcl.c.

References CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, and rtt_stop().

Variable Documentation

◆ rtt_subcommand_handlers

const struct command_registration rtt_subcommand_handlers[]
static

Definition at line 159 of file rtt/tcl.c.

◆ rtt_target_command_handlers

const struct command_registration rtt_target_command_handlers[]
Initial value:
= {
{
.name = "rtt",
.mode = COMMAND_EXEC,
.help = "RTT target commands",
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:253
@ COMMAND_EXEC
Definition: command.h:40
static const struct command_registration rtt_subcommand_handlers[]
Definition: rtt/tcl.c:221

Definition at line 159 of file rtt/tcl.c.