![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
Simple CLI shell code. More...
#include <stdio.h>#include <string.h>#include "ch.h"#include "hal.h"#include "shell.h"Go to the source code of this file.
Functions | |
| void | shellInit (void) |
| Shell manager initialization. | |
| Thread * | shellCreate (const ShellConfig *scp, size_t size, tprio_t prio) |
| Spawns a new shell. | |
| void | shellPrint (BaseChannel *chp, const char *msg) |
| Prints a string. | |
| void | shellPrintLine (BaseChannel *chp, const char *msg) |
| Prints a string with a final newline. | |
| bool_t | shellGetLine (BaseChannel *chp, char *line, unsigned size) |
| Reads a whole line from the input channel. | |
Variables | |
| EventSource | shell_terminated |
| Shell termination event source. | |
Simple CLI shell code.
Definition in file shell.c.
1.7.1