support task self delete for STM8, add a sample of shell for STM8

1. sample project, see TencentOS-tiny\board\STM8L052R8T6\IAR\shell
2. ATTENTION: read TencentOS-tiny\board\STM8L052R8T6\IAR\shell\README.md first
This commit is contained in:
daishengdong
2020-02-15 23:22:38 +08:00
parent 7a0966a2cc
commit 3ddeb9c5cd
34 changed files with 7181 additions and 191 deletions

View File

@@ -1,7 +1,7 @@
#include "tos_shell.h"
#include "tos_hal.h"
#define CMD_LEN_MAX 128
#define CMD_LEN_MAX 25
char cmd_buf[CMD_LEN_MAX];
hal_uart_t shell_uart;