File tree 3 files changed +4
-4
lines changed
src/platform/silabs/platformAbstraction
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ extern uint32_t SystemCoreClock;
122
122
#include "sl_component_catalog.h"
123
123
#endif
124
124
125
- #if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
125
+ #ifdef SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
126
126
#include "SEGGER_SYSVIEW_FreeRTOS.h"
127
127
#endif
128
128
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ extern "C" {
49
49
#include " uart.h"
50
50
#endif
51
51
52
- #if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
52
+ #ifdef SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
53
53
#include " SEGGER_SYSVIEW.h"
54
54
#endif
55
55
}
@@ -78,7 +78,7 @@ CHIP_ERROR SilabsPlatform::Init(void)
78
78
sl_ot_sys_init ();
79
79
#endif
80
80
81
- #if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
81
+ #ifdef SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
82
82
SEGGER_SYSVIEW_Conf ();
83
83
SEGGER_SYSVIEW_Start ();
84
84
#endif
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ template("efr32_sdk") {
401
401
" ${ efr32_sdk_root } /util/third_party/segger/systemview/profiles/freertos_v10/" ,
402
402
]
403
403
404
- defines += [ " SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT=1 " ]
404
+ defines += [ " SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT" ]
405
405
}
406
406
407
407
defines += board_defines
You can’t perform that action at this time.
0 commit comments