|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 static void cmd_mem(BaseSequentialStream *lchp,
int argc,
const char *
const argv[])
44 chprintf (lchp,
"core free memory : %u bytes\r\n", chCoreGetStatusX());
48 static void cmd_abi(BaseSequentialStream *lchp,
int argc,
const char *
const argv[])
56 chprintf(lchp,
"ABI message bindings\r\n");
57 for (
int i = 0; i < ABI_MESSAGE_NB; i++) {
59 if (abi_queues[i] == NULL) {
99 thread_t * shelltp = shellCreateFromHeap(&
shell_cfg, 2048U, NORMALPRIO);
100 if (shelltp == NULL) {
101 chSysHalt(
"fail starting shell");
void shellInit(void)
Shell manager initialization.
static void cmd_abi(BaseSequentialStream *lchp, int argc, const char *const argv[])
void chprintf(BaseSequentialStream *lchp, const char *fmt,...)
static void cmd_mem(BaseSequentialStream *lchp, int argc, const char *const argv[])
Event structure to store callbacks in a linked list.
void shell_add_entry(char *cmd_name, shell_cmd_t *cmd)
Add dynamic entry.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void() shell_cmd_t(shell_stream_t *stream, int argc, const char *const argv[])
Command handler.
Mini printf-like functionality.
Custom command entry type.
static const ShellCommand commands[]
#define ABI_FOREACH(head, el)
Macros for linked list.
void shell_init_arch(void)
Arch init.
BaseSequentialStream * sc_channel
I/O channel associated to the shell.
static ShellConfig shell_cfg