Initial commit: CCU621_M firmware project with BLE debug link support.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* @file shell_port.h
|
||||
* @author Letter (NevermindZZT@gmail.com)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2019-02-22
|
||||
*
|
||||
* @copyright (c) 2019 Letter
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_PORT_H__
|
||||
#define __SHELL_PORT_H__
|
||||
|
||||
#include "publicdata/public_define.h"
|
||||
|
||||
#if (MY_SHELL_EN)
|
||||
#include "shell.h"
|
||||
#endif
|
||||
|
||||
/* MY_SHELL_EN=0 时提供空桩,避免链接进 shell 代码 */
|
||||
#if (MY_SHELL_EN)
|
||||
extern Shell shell;
|
||||
void userShellInit(void);
|
||||
void v_myshell_task(void *argument);
|
||||
#else
|
||||
static inline void userShellInit(void) {}
|
||||
static inline void v_myshell_task(void *argument) { (void)argument; }
|
||||
#endif
|
||||
|
||||
unsigned short shell_send_String(const char *string);
|
||||
void v_shell_print(const char *format, ...);
|
||||
#endif
|
||||
Reference in New Issue
Block a user