diff options
Diffstat (limited to 'inc/os/system_trace/trace_config.h')
-rw-r--r-- | inc/os/system_trace/trace_config.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/inc/os/system_trace/trace_config.h b/inc/os/system_trace/trace_config.h new file mode 100644 index 0000000..342595c --- /dev/null +++ b/inc/os/system_trace/trace_config.h @@ -0,0 +1,41 @@ +/****************************************************************************************************//** + * @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 0 +#define TRACE_WDG_TIMEOUT 0 +#define TRACE_TASK_HANG_USE_WDG_ISR 0 +/******************* 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****/ |