Skip to content

Commit

Permalink
Refactored SL_SYSTEM_VIEW to SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT (#30801
Browse files Browse the repository at this point in the history
)
  • Loading branch information
CuRahman authored Dec 5, 2023
1 parent db06afc commit 450fe1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ extern uint32_t SystemCoreClock;
#include "sl_component_catalog.h"
#endif

#if SL_SYSTEM_VIEW
#if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
#include "SEGGER_SYSVIEW_FreeRTOS.h"
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/platform/silabs/platformAbstraction/GsdkSpam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extern "C" {
#include "uart.h"
#endif

#if SL_SYSTEM_VIEW
#if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
#include "SEGGER_SYSVIEW.h"
#endif
}
Expand All @@ -73,7 +73,7 @@ CHIP_ERROR SilabsPlatform::Init(void)
sl_ot_sys_init();
#endif

#if SL_SYSTEM_VIEW
#if SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT
SEGGER_SYSVIEW_Conf();
SEGGER_SYSVIEW_Start();
#endif
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ template("efr32_sdk") {
"${efr32_sdk_root}/util/third_party/segger/systemview/profiles/freertos_v10/",
]

defines += [ "SL_SYSTEM_VIEW=1" ]
defines += [ "SL_CATALOG_SYSTEMVIEW_TRACE_PRESENT=1" ]
}

defines += board_defines
Expand Down

0 comments on commit 450fe1d

Please sign in to comment.