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_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)
 
static int jim_channel_list (Jim_Interp *interp, int argc, Jim_Obj *const *argv)
 

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/5]

◆ COMMAND_HANDLER() [2/5]

COMMAND_HANDLER ( handle_rtt_polling_interval_command  )

◆ COMMAND_HANDLER() [3/5]

◆ COMMAND_HANDLER() [4/5]

COMMAND_HANDLER ( handle_rtt_start_command  )

◆ COMMAND_HANDLER() [5/5]

COMMAND_HANDLER ( handle_rtt_stop_command  )

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

References CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, and rtt_stop().

◆ jim_channel_list()

static int jim_channel_list ( Jim_Interp *  interp,
int  argc,
Jim_Obj *const *  argv 
)
static

Variable Documentation

◆ rtt_subcommand_handlers

const struct command_registration rtt_subcommand_handlers[]
static

Definition at line 153 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:247
@ COMMAND_EXEC
Definition: command.h:40
static const struct command_registration rtt_subcommand_handlers[]
Definition: rtt/tcl.c:249

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