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/version.c

17 lines
246 B

#include <stdio.h>
#include <console.h>
#include <shell/version.h>
int shell_version(struct console *con, size_t argc, const char **argv)
{
(void)argv;
if (argc < 1)
return -1;
fprintf(con->fp, "hello %s\n", TBM_VERSION);
return 0;
}