Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
shell_arch.c File Reference
+ Include dependency graph for shell_arch.c:

Go to the source code of this file.

Functions

static void cmd_mem (BaseSequentialStream *lchp, int argc, const char *const argv[])
 
static void cmd_abi (BaseSequentialStream *lchp, int argc, const char *const argv[])
 
void shell_add_entry (char *cmd_name, shell_cmd_t *cmd)
 Add dynamic entry. More...
 
void shell_init_arch (void)
 Arch init. More...
 

Variables

static const ShellCommand commands []
 
static ShellConfig shell_cfg
 

Detailed Description

Author
Alexandre Bustico alexa.nosp@m.ndre.nosp@m..bust.nosp@m.ico@.nosp@m.enac..nosp@m.fr Simple debug shell

Definition in file shell_arch.c.

Function Documentation

◆ cmd_abi()

static void cmd_abi ( BaseSequentialStream *  lchp,
int  argc,
const char *const  argv[] 
)
static

Definition at line 48 of file shell_arch.c.

References ABI_FOREACH, abi_struct::cb, chprintf(), and abi_struct::id.

+ Here is the call graph for this function:

◆ cmd_mem()

static void cmd_mem ( BaseSequentialStream *  lchp,
int  argc,
const char *const  argv[] 
)
static

Definition at line 36 of file shell_arch.c.

References chprintf().

+ Here is the call graph for this function:

◆ shell_add_entry()

void shell_add_entry ( char *  cmd_name,
shell_cmd_t cmd 
)

Add dynamic entry.

Add new shell entry.

Definition at line 85 of file shell_arch.c.

Referenced by rtos_mon_init_arch().

+ Here is the caller graph for this function:

◆ shell_init_arch()

void shell_init_arch ( void  )

Arch init.

Definition at line 93 of file shell_arch.c.

References ShellConfig::sc_channel, shell_cfg, and shellInit().

Referenced by shell_init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ commands

◆ shell_cfg

ShellConfig shell_cfg
static
Initial value:
= {
NULL,
}

Definition at line 77 of file shell_arch.c.

Referenced by shell_init_arch().

cmd_abi
static void cmd_abi(BaseSequentialStream *lchp, int argc, const char *const argv[])
Definition: shell_arch.c:48
cmd_mem
static void cmd_mem(BaseSequentialStream *lchp, int argc, const char *const argv[])
Definition: shell_arch.c:36
commands
static const ShellCommand commands[]
Definition: shell_arch.c:71