Files
arcs/arcs-sdk/components/lisa_shell/lisa_shell.h
2026-08-13 16:50:52 +08:00

33 lines
613 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* @file lisa_shell.h
* @brief LISA Shell 组件对外接口
* @copyright Copyright (c) 2025, LISTENAI
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __LISA_SHELL_H__
#define __LISA_SHELL_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief 初始化LISA Shell
*
* 该函数初始化shell组件配置UART通信并创建shell任务。
* shell任务的堆栈大小和优先级可以通过Kconfig配置。
*
* @return int 初始化结果
* @retval 0 成功
* @retval -1 失败
*/
int lisa_shell_init(void);
#ifdef __cplusplus
}
#endif
#endif /* __LISA_SHELL_H__ */