From d3fac0b7fe60f94163ead2bfaaa093fe0080fe6d Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Fri, 25 Oct 2024 14:02:33 -0500 Subject: [PATCH] soc: nxp: mcx: do not select HAS_SEGGER_RTT unless segger module is present Do not select HAS_SEGGER_RTT unless the segger module is present. This avoids a Kconfig error when SEGGER's debug module is not present in the west manifest Fixes #80529 Signed-off-by: Daniel DeGrasse --- soc/nxp/mcx/mcxa/Kconfig | 2 +- soc/nxp/mcx/mcxn/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/nxp/mcx/mcxa/Kconfig b/soc/nxp/mcx/mcxa/Kconfig index a123cfa4fa8..6037d43b55d 100644 --- a/soc/nxp/mcx/mcxa/Kconfig +++ b/soc/nxp/mcx/mcxa/Kconfig @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 config SOC_SERIES_MCXA - select HAS_SEGGER_RTT + select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE select CLOCK_CONTROL select ARM select HAS_MCUX diff --git a/soc/nxp/mcx/mcxn/Kconfig b/soc/nxp/mcx/mcxn/Kconfig index 0379358ca95..57b5fb7e25e 100644 --- a/soc/nxp/mcx/mcxn/Kconfig +++ b/soc/nxp/mcx/mcxn/Kconfig @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 config SOC_SERIES_MCXN - select HAS_SEGGER_RTT + select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE select CLOCK_CONTROL select ARM select HAS_MCUX