fix: newlib for liteos_a and clip for liteos_a_mini

close #I53VW6

Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I591b4ffaeb220311b63bd95f19400e0b9fde3c45
This commit is contained in:
Haryslee
2022-04-21 16:04:52 +08:00
parent a6e17fea9b
commit 7fef6ac8d9
19 changed files with 314 additions and 109 deletions

View File

@@ -87,9 +87,9 @@ typedef VOID (*pf_OUTPUT)(const CHAR *fmt, ...);
* <ul><li>los_printf.h: the header file that contains the API declaration.</li></ul>
* @see printf
*/
#ifndef LOSCFG_LIBC_NEWLIB
extern void dprintf(const char *fmt, ...);
#define diag_printf dprintf
#endif
#define PRINT_DEBUG(fmt, args...) LOS_LkPrint(LOS_DEBUG_LEVEL, __FUNCTION__, __LINE__, fmt, ##args)
#define PRINT_INFO(fmt, args...) LOS_LkPrint(LOS_INFO_LEVEL, __FUNCTION__, __LINE__, fmt, ##args)