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

17 lines
218 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;
fprintf(con->fp, "%s\n", argv[0]);
return 0;
}