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
|
|
|
|
select HAS_BACKUP_RAM
|
|
|
|
select HAS_CPU_SAML21
|
2020-08-24 19:08:36 +02:00
|
|
|
select HAS_PERIPH_DMA
|
2020-09-10 21:59:40 +02:00
|
|
|
select HAS_PERIPH_GPIO_FAST_READ
|
2021-08-19 18:38:26 +02:00
|
|
|
select HAS_PERIPH_RTC_MEM
|
2021-07-26 14:42:36 +02:00
|
|
|
select HAS_PERIPH_UART_COLLISION
|
2020-07-10 12:14:59 +02:00
|
|
|
|
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
|
|
|
select HAS_PERIPH_HWRNG
|
|
|
|
|
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
|
|
|
select HAS_PERIPH_HWRNG
|
|
|
|
|
|
|
|
## Declaration of specific features
|
|
|
|
config HAS_CPU_SAML21
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a 'saml21' cpu is being used.
|
|
|
|
|
|
|
|
## 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"
|