Paparazzi UAS  v5.18.0_stable-1-g6993852-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

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:

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:

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:

void shell_init_arch ( void  )

Arch init.

Definition at line 93 of file shell_arch.c.

References ShellConfig::sc_channel, and shellInit().

Referenced by shell_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

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:36
static void cmd_abi(BaseSequentialStream *lchp, int argc, const char *const argv[])
Definition: shell_arch.c:48

Definition at line 71 of file shell_arch.c.

Referenced by autopilot_static_on_rc_frame(), autopilot_static_periodic(), electrical_periodic(), fbw_on_rc_frame(), get_commands(), handle_rc_frame(), logger_control_effectiveness_periodic(), main_periodic(), main_periodic_task(), mavlink_send_vfr_hud(), nps_autopilot_run_step(), and send_commands().

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

Definition at line 77 of file shell_arch.c.