support stm8

1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world
2. compile/debug/run with IAR for STM8
This commit is contained in:
daishengdong
2020-02-15 16:39:00 +08:00
parent 59e403891a
commit 405e5d970a
169 changed files with 49472 additions and 550 deletions

View File

@@ -33,13 +33,13 @@ typedef struct shell_command_set_st {
const shell_cmd_t *const commands;
} shell_cmd_set_t;
__KERNEL__ int shell_cmd_set_regiser(const shell_cmd_set_t *cmd_set);
__KNL__ int shell_cmd_set_regiser(const shell_cmd_set_t *cmd_set);
__KERNEL__ int shell_cmd_set_unregiser(const shell_cmd_set_t *cmd_set);
__KNL__ int shell_cmd_set_unregiser(const shell_cmd_set_t *cmd_set);
__KERNEL__ const shell_cmd_t *shell_cmd_find(const char *name);
__KNL__ const shell_cmd_t *shell_cmd_find(const char *name);
__KERNEL__ void shell_cmd_init(shell_cmd_set_t *custom_cmd_set);
__KNL__ void shell_cmd_init(shell_cmd_set_t *custom_cmd_set);
#endif /* _TOS_SHELL_COMMAND_H_ */