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

10 lines
201 B

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