2020-12-10 11:02:26 +08:00
|
|
|
/*
|
2021-01-21 16:08:06 +08:00
|
|
|
* Copyright (c) 2020-2021, Bluetrum Development Team
|
2021-03-11 13:26:54 +08:00
|
|
|
*
|
2020-12-10 11:02:26 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-11-19 greedyhao first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: DO NOT include this file on the header file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOG_TAG
|
|
|
|
#define DBG_TAG "drv"
|
|
|
|
#else
|
|
|
|
#define DBG_TAG LOG_TAG
|
|
|
|
#endif /* LOG_TAG */
|
|
|
|
|
|
|
|
#ifdef DRV_DEBUG
|
|
|
|
#define DBG_LVL DBG_LOG
|
|
|
|
#else
|
|
|
|
#define DBG_LVL DBG_INFO
|
|
|
|
#endif /* DRV_DEBUG */
|
|
|
|
|
|
|
|
#include <rtdbg.h>
|