File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ File : SEGGER_SYSVIEW_FreeRTOS.c
1010Purpose : Interface between FreeRTOS and SystemView.
1111Revision: $Rev: 7947 $
1212*/
13+
14+ #if CFG_DEBUG >= 3
15+
1316#include "FreeRTOS.h"
1417#include "task.h"
1518#include "SEGGER_SYSVIEW.h"
@@ -208,4 +211,6 @@ const SEGGER_SYSVIEW_OS_API SYSVIEW_X_OS_TraceAPI = {
208211 _cbSendTaskList ,
209212};
210213
214+ #endif // CFG_DEBUG
215+
211216/*************************** End of file ****************************/
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ extern "C"
5656// VERIFY Helper
5757//--------------------------------------------------------------------+
5858#if CFG_DEBUG >= 1
59+ #include <stdio.h>
60+
5961 #define VERIFY_MESS (_status , _funcstr ) \
6062 do { \
6163 const char* (*_fstr)(int32_t) = _funcstr;\
You can’t perform that action at this time.
0 commit comments