diff --git a/cpu/saml1x/Kconfig b/cpu/saml1x/Kconfig index 7b86fbbc19..0ca51908ba 100644 --- a/cpu/saml1x/Kconfig +++ b/cpu/saml1x/Kconfig @@ -5,4 +5,47 @@ # directory for more details. # +config CPU_COMMON_SAML1X + bool + select CPU_COMMON_SAM0 + select CPU_CORE_CORTEX_M23 + select HAS_CORTEXM_MPU + select HAS_CPU_SAML1X + select HAS_PERIPH_HWRNG + +config CPU_FAM_SAML10 + bool + select CPU_COMMON_SAML1X + +config CPU_FAM_SAML11 + bool + select CPU_COMMON_SAML1X + +## CPU Models +config CPU_MODEL_SAML10E16A + bool + select CPU_FAM_SAML10 + +config CPU_MODEL_SAML11E16A + bool + select CPU_FAM_SAML11 + +## Declaration of specific features +config HAS_CPU_SAML1X + bool + help + Indicates that a 'saml1x' cpu is being used. + +## Common CPU symbols +config CPU_FAM + default "saml10" if CPU_FAM_SAML10 + default "saml11" if CPU_FAM_SAML11 + +config CPU_MODEL + default "saml10e16a" if CPU_MODEL_SAML10E16A + default "saml11e16a" if CPU_MODEL_SAML11E16A + +config CPU + default "saml1x" if CPU_COMMON_SAML1X + source "$(RIOTCPU)/sam0_common/Kconfig"