Paparazzi UAS  v7.0_unstable
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 55 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 37 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 92 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 100 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

const ShellCommand commands[]
static
Initial value:
= {
{"mem", cmd_mem},
{"abi", cmd_abi},
{NULL, NULL}
}
static void cmd_mem(BaseSequentialStream *lchp, int argc, const char *const argv[])
Definition: shell_arch.c:37
static void cmd_abi(BaseSequentialStream *lchp, int argc, const char *const argv[])
Definition: shell_arch.c:55

Definition at line 78 of file shell_arch.c.

◆ shell_cfg

ShellConfig shell_cfg
static
Initial value:
= {
NULL,
}
static const ShellCommand commands[]
Definition: shell_arch.c:78

Definition at line 84 of file shell_arch.c.

Referenced by shell_init_arch().