|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include <string.h>#include "microrl/microrlShell.h"#include "microrl/microrl.h"#include "printf.h"#include "mcu_periph/sys_time_arch.h"
Include dependency graph for microrlShell.c:Go to the source code of this file.
Data Structures | |
| struct | AltCbParam |
Macros | |
| #define | printScreen(...) {chprintf (chpg, __VA_ARGS__); chprintf (chpg, "\r\n");} |
Functions | |
| static void | cmd_info (BaseSequentialStream *lchp, int argc, const char *const argv[]) |
| static | MUTEX_DECL (mut) |
| void | microrlPrint (const char *str) |
| void | microrlExecute (int argc, const char *const *argv) |
| const char ** | microrlComplet (int argc, const char *const *argv) |
| void | microrlSigint (void) |
| static void | usage (BaseSequentialStream *lchp, char *p) |
| static | THD_FUNCTION (shell_thread, p) |
| Shell thread function. | |
| void | shellInit (void) |
| Shell manager initialization. | |
| thread_t * | shellCreateStatic (const ShellConfig *scp, void *wsp, size_t size, tprio_t prio) |
| Spawns a new shell. | |
| void | modeAlternate (void(*funcp)(uint8_t c, uint32_t mode), uint32_t mode) |
| void | modeShell (void) |
Variables | |
| event_source_t | shell_terminated |
| Shell termination event source. | |
| static microrl_t | rl |
| static BaseSequentialStream * | chpg |
| static const ShellCommand * | staticCommands = NULL |
| static const char * | complWorlds [64] |
| static const ShellCommand | localCommands [] |
| Array of the default and dynamic commands. | |
| static AltCbParam | altCbParam = {.altFunc = NULL, .param = 0} |