Skip to content

Commit 916500f

Browse files
nordic-krchtmon-nordic
authored andcommitted
[nrf fromlist] logging: frontends: stmesp: Fix sending string location
String location information should only be sent for core which do not append strings to the log message (PPR, FLPR). Without this, cpurad was also sending that information and that was redundant. Upstream PR #: 86242 Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 5715c89)
1 parent 9a41688 commit 916500f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

subsys/logging/frontends/log_frontend_stmesp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ void log_frontend_panic(void)
581581

582582
void log_frontend_init(void)
583583
{
584-
#if defined(CONFIG_LOG_FRONTEND_STPESP_TURBO_SOURCE_PORT_ID) && !defined(CONFIG_NRF_ETR)
584+
#if defined(CONFIG_LOG_FRONTEND_STPESP_TURBO_SOURCE_PORT_ID) && !defined(CONFIG_NRF_ETR) && \
585+
!defined(CONFIG_LOG_MSG_APPEND_RO_STRING_LOC)
585586
/* Send location of section with constant source data. It is used by the
586587
* application core to retrieve source names of log messages coming from
587588
* coprocessors (FLPR and PPR).

0 commit comments

Comments
 (0)