bsp,abstract-machine,uart: add more preset commands
This commit is contained in:
parent
4ed46aca44
commit
475f866a45
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ static int _uart_putc(struct rt_serial_device *serial, char c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _uart_getc(struct rt_serial_device *serial) {
|
static int _uart_getc(struct rt_serial_device *serial) {
|
||||||
static const char *p = "help\n";
|
static const char *p = "help\ndate\nversion\nfree\nps\npwd\nls\nmemtrace\nmemcheck\nutest_list\n";
|
||||||
return (*p != '\0' ? *(p ++) : -1);
|
return (*p != '\0' ? *(p ++) : -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue