2021-06-10 20:46:13 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020-2021, WangHuachen
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-11-30 WangHuachen the first version
|
|
|
|
*/
|
|
|
|
#ifndef XIL_PRINTF_H
|
|
|
|
#define XIL_PRINTF_H
|
2020-11-30 13:13:08 +08:00
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define xil_printf rt_kprintf
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2021-05-14 14:42:21 +08:00
|
|
|
#endif /* end of protection macro */
|