# Copyright (c) 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # 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"