Skip to content

Commit

Permalink
tracing: Fix sysview for soc families not subdivided into series
Browse files Browse the repository at this point in the history
Fixes the systemview tracing backend for soc families, such as max32,
that don't subdivide into soc series and therefore don't define
CONFIG_SOC_SERIES. Use CONFIG_SOC_FAMILY instead in the system
description since it should always be defined.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
  • Loading branch information
MaureenHelm committed Sep 27, 2024
1 parent 3ba2b5d commit 15e7c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/tracing/sysview/sysview_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void cbSendSystemDesc(void)
{
SEGGER_SYSVIEW_SendSysDesc("N=" CONFIG_SEGGER_SYSVIEW_APP_NAME);
SEGGER_SYSVIEW_SendSysDesc("D=" CONFIG_BOARD " "
CONFIG_SOC_SERIES " " CONFIG_ARCH);
CONFIG_SOC_FAMILY " " CONFIG_ARCH);
SEGGER_SYSVIEW_SendSysDesc("O=Zephyr");

Check notice on line 55 in subsys/tracing/sysview/sysview_config.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

subsys/tracing/sysview/sysview_config.c:55 - SEGGER_SYSVIEW_SendSysDesc("D=" CONFIG_BOARD " " - CONFIG_SOC_FAMILY " " CONFIG_ARCH); + SEGGER_SYSVIEW_SendSysDesc("D=" CONFIG_BOARD " " CONFIG_SOC_FAMILY " " CONFIG_ARCH);
}

Expand Down

0 comments on commit 15e7c7b

Please sign in to comment.