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/include/shell.h

13 lines
273 B

#pragma once
struct cmd {
const char *key;
void (* exec)(const char *line);
};
void do_flash_cmd(const char *line);
void do_ftl_cmd(const char *line);
void do_mufs_cmd(const char *line);
void cmd_exec(struct cmd *cmds, const char *line);
void cmd_loop(const char *s);