2017-08-25 10:48:59 +08:00
|
|
|
/*
|
2022-06-22 13:41:06 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2017-08-25 10:48:59 +08:00
|
|
|
*
|
2018-12-24 18:49:00 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-08-25 10:48:59 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-08-24 chinesebear first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __DEBUG_H__
|
|
|
|
#define __DEBUG_H__
|
|
|
|
|
|
|
|
//#define GMAC_DEBUG
|
|
|
|
#include <rtthread.h>
|
2022-06-22 13:41:06 +08:00
|
|
|
#ifdef GMAC_DEBUG
|
|
|
|
#define DEBUG_MES rt_kprintf
|
2017-08-25 10:48:59 +08:00
|
|
|
#else
|
|
|
|
#define DEBUG_MES(...)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*__DEBUG_H__*/
|