2020-03-23 14:01:52 +01:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2020-08-18 17:22:47 +02:00
|
|
|
config CPU_COMMON_SAML21
|
2020-07-10 12:14:59 +02:00
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAM0
|
|
|
|
select CPU_CORE_CORTEX_M0PLUS
|
|
|
|
|
2020-08-18 17:22:47 +02:00
|
|
|
config CPU_FAM_SAML21
|
2020-08-21 15:18:41 +02:00
|
|
|
bool
|
2020-08-18 17:22:47 +02:00
|
|
|
select CPU_COMMON_SAML21
|
2020-08-21 15:18:41 +02:00
|
|
|
|
2020-08-18 17:22:47 +02:00
|
|
|
config CPU_FAM_SAMR30
|
2020-07-10 12:14:59 +02:00
|
|
|
bool
|
2020-08-18 17:22:47 +02:00
|
|
|
select CPU_COMMON_SAML21
|
2020-07-10 12:14:59 +02:00
|
|
|
|
2020-08-18 17:22:47 +02:00
|
|
|
config CPU_FAM_SAMR34
|
2020-07-10 12:14:59 +02:00
|
|
|
bool
|
2020-08-18 17:22:47 +02:00
|
|
|
select CPU_COMMON_SAML21
|
2020-07-10 12:14:59 +02:00
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_FAM
|
|
|
|
default "saml21" if CPU_FAM_SAML21
|
2020-08-18 17:22:47 +02:00
|
|
|
default "samr30" if CPU_FAM_SAMR30
|
|
|
|
default "samr34" if CPU_FAM_SAMR34
|
2020-07-10 12:14:59 +02:00
|
|
|
|
|
|
|
config CPU
|
2020-08-18 17:22:47 +02:00
|
|
|
default "saml21" if CPU_COMMON_SAML21
|
|
|
|
|
|
|
|
source "$(RIOTCPU)/saml21/Kconfig.saml21"
|
|
|
|
source "$(RIOTCPU)/saml21/Kconfig.samr30"
|
|
|
|
source "$(RIOTCPU)/saml21/Kconfig.samr34"
|
2020-07-10 12:14:59 +02:00
|
|
|
|
2020-03-23 14:01:52 +01:00
|
|
|
source "$(RIOTCPU)/sam0_common/Kconfig"
|