zephyr/soc/arm/atmel_sam0/Kconfig
Jamie McCrae 794ab10827 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>
2023-04-20 14:57:51 +02:00

24 lines
564 B
Plaintext

# Atmel SAM0 MCU family configuration options
# Copyright (c) 2017 Google LLC.
# SPDX-License-Identifier: Apache-2.0
config SOC_FAMILY_SAM0
bool
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
if SOC_FAMILY_SAM0
config SOC_FAMILY
string
default "atmel_sam0"
source "soc/arm/atmel_sam0/common/Kconfig.samc2x"
source "soc/arm/atmel_sam0/common/Kconfig.saml2x"
source "soc/arm/atmel_sam0/common/Kconfig.samd2x"
source "soc/arm/atmel_sam0/common/Kconfig.samd5x"
source "soc/arm/atmel_sam0/*/Kconfig.soc"
source "soc/arm/atmel_sam0/Kconfig.soc.revisions"
endif