WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
upg_debug.h
浏览该文件的文档.
1
/*
2
* Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2021. All rights reserved.
3
* Description: UPG debug functions header file
4
*/
5
6
#ifndef UPG_DEBUG_H
7
#define UPG_DEBUG_H
8
9
#include "
upg_config.h
"
10
#include "
upg_definitions.h
"
11
#include "stdio.h"
12
#include "
debug_print.h
"
13
#ifdef __cplusplus
14
#if __cplusplus
15
extern
"C"
{
16
#endif
17
#endif
18
19
#if (UPG_CFG_DEBUG_PRINT_ENABLED == YES)
20
#define upg_log_dbg(fmt, arg...)
21
#define upg_log_info(fmt, arg...) print_str(fmt, ##arg)
22
#define upg_log_err(fmt, arg...) print_str(fmt, ##arg)
23
#else
24
#define upg_log_dbg(fmt, arg...)
25
#define upg_log_info(fmt, arg...)
26
#define upg_log_err(fmt, arg...)
27
#endif
/* UPG_CFG_DEBUG_PRINT_ENABLED */
28
29
#ifdef __cplusplus
30
#if __cplusplus
31
}
32
#endif
33
#endif
34
35
#endif
/* UPG_DEBUG_H */
debug_print.h
upg_config.h
upg_definitions.h
src
middleware
chips
ws63
update
include
upg_debug.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8