Source code for the Trusted Boot Module.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tbm-mcu/source/shell/echo.c

15 lines
206 B

#include <stdio.h>
#include <console.h>
#include <shell/echo.h>
int shell_echo(struct console *con, size_t argc, const char **argv)
{
if (argc < 1)
return -1;
fputs(argv[0], con->fp);
return 0;
}