Realtek/inc/os/system_trace/trace_config.h

42 lines
1.3 KiB
C
Raw Normal View History

2025-11-25 10:21:47 +08:00
/****************************************************************************************************//**
* @file trace_config.h
*
* @brief
*
* @version v0.1
* @date 2018-11-05
*
* @note
*******************************************************************************************************/
#ifndef _TRACE_CONFIG_H_
#define _TRACE_CONFIG_H_
#define TRACE_HEAP_EN 1
#define TRACE_STACK_EN 1
#define TRACE_TIMER_EN 1
#define TRACE_QUEUE_EN 1
#define DEBUG_TASK_HANG_EN 1
#define DEBUG_DLPS_ERROR_EN 1
#define TRACE_HARDFAULT 1
#define TRACE_WDG_TIMEOUT 1
#define TRACE_TASK_HANG_USE_WDG_ISR 1
/******************* CONFIGURATION *******************/
#define TRACE_PERIOD_TIME ( 10 * 1000 )
/******************* QUEUE CONFIGURATION *******************/
#define QUEUE_OBJECTS_NUM ( 3 )
//#define TRACE_QUEUE_PERIOD_TIME ( 10 * 1000 )
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif /*_TRACE_CONFIG_H_*/
/******************* (C) COPYRIGHT 2015 Realtek Semiconductor Corporation *****END OF FILE****/