feat: 完善m核qemu串口驱动,支持shell输入

【背景】
m核qemu需完善串口驱动,支持shell输入
【修改方案】
1.完善串口驱动
2.添加shell任务,获取串口输入并下发处理
【影响】
对现有的产品编译不会有影响。

re #I46N7F

Signed-off-by: lanleinan <lanleinan@163.com>
Change-Id: Ib58d4e633081743e64412cb65aa209d3356d6c1c
This commit is contained in:
lnlan
2021-08-21 07:36:41 +00:00
parent 97c4a5813f
commit c4dc5ab0f8
3 changed files with 111 additions and 30 deletions

View File

@@ -781,6 +781,25 @@ extern UINT8 *m_aucSysMem0;
#define LOSCFG_MPU_ENABLE 0
#endif
/*=============================================================================
shell module configuration
=============================================================================*/
/**
* @ingroup los_config
* Configuration item for shell.
*/
#ifndef LOSCFG_USE_SHELL
#define LOSCFG_USE_SHELL 0
#endif
/**
* @ingroup los_config
* Configuration shell task priority.
*/
#ifndef LOSCFG_SHELL_PRIO
#define LOSCFG_SHELL_PRIO 3
#endif
#ifdef __cplusplus
#if __cplusplus
}