soc: Only select HAS_SEGGER_RTT if module is available

This prevents configuration errors if a board is configured when
the SoC indicates segger RTT support but the segger module is
not available.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-04-20 08:36:37 +01:00 committed by Carles Cufí
commit 794ab10827
18 changed files with 19 additions and 19 deletions

View file

@ -4,7 +4,7 @@
config SOC_FAMILY_EXX32
bool
select HAS_SEGGER_RTT
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select BUILD_OUTPUT_HEX
if SOC_FAMILY_EXX32