2018-10-12 15:54:09 +08:00
|
|
|
/*
|
2018-10-12 16:02:20 +08:00
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
2018-10-12 15:54:09 +08:00
|
|
|
*
|
2018-10-12 16:02:20 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2018-10-12 15:54:09 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2018-10-12 armink first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: DO NOT include this file on the header file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOG_TAG
|
2019-04-12 10:18:57 +08:00
|
|
|
#define DBG_TAG "at"
|
2018-10-12 15:54:09 +08:00
|
|
|
#else
|
2019-04-12 10:18:57 +08:00
|
|
|
#define DBG_TAG LOG_TAG
|
2018-10-12 15:54:09 +08:00
|
|
|
#endif /* LOG_TAG */
|
|
|
|
|
|
|
|
#ifdef AT_DEBUG
|
2019-04-12 10:18:57 +08:00
|
|
|
#define DBG_LVL DBG_LOG
|
2018-10-12 15:54:09 +08:00
|
|
|
#else
|
2019-04-12 10:18:57 +08:00
|
|
|
#define DBG_LVL DBG_INFO
|
2018-10-12 15:54:09 +08:00
|
|
|
#endif /* AT_DEBUG */
|
|
|
|
|
|
|
|
#include <rtdbg.h>
|