2020-03-23 13:56:59 +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 16:44:56 +02:00
|
|
|
config CPU_COMMON_SAMD21
|
2020-02-18 18:56:19 +01:00
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAM0
|
2020-06-16 14:23:17 +02:00
|
|
|
select CPU_CORE_CORTEX_M0PLUS
|
2020-02-18 18:56:19 +01:00
|
|
|
select HAS_CPU_SAMD21
|
2020-09-10 21:59:40 +02:00
|
|
|
select HAS_PERIPH_GPIO_FAST_READ
|
2020-02-18 18:56:19 +01:00
|
|
|
|
2020-08-18 16:44:56 +02:00
|
|
|
config CPU_FAM_SAMD21
|
2020-02-18 18:56:19 +01:00
|
|
|
bool
|
2020-08-18 16:44:56 +02:00
|
|
|
select CPU_COMMON_SAMD21
|
2020-02-18 18:56:19 +01:00
|
|
|
|
2020-08-18 16:44:56 +02:00
|
|
|
config CPU_FAM_SAMR21
|
2020-02-18 18:56:19 +01:00
|
|
|
bool
|
2020-08-18 16:44:56 +02:00
|
|
|
select CPU_COMMON_SAMD21
|
2020-02-18 18:56:19 +01:00
|
|
|
|
|
|
|
## Definition of specific features
|
|
|
|
config HAS_CPU_SAMD21
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a 'samd21' cpu is being used.
|
|
|
|
|
|
|
|
## Common CPU symbols
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU_FAM
|
|
|
|
default "samd21" if CPU_FAM_SAMD21
|
2020-08-18 16:44:56 +02:00
|
|
|
default "samr21" if CPU_FAM_SAMR21
|
2020-02-18 18:56:19 +01:00
|
|
|
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU
|
2020-08-18 16:44:56 +02:00
|
|
|
default "samd21" if CPU_COMMON_SAMD21
|
|
|
|
|
|
|
|
source "$(RIOTCPU)/samd21/Kconfig.samd21"
|
|
|
|
source "$(RIOTCPU)/samd21/Kconfig.samr21"
|
2020-06-16 14:23:17 +02:00
|
|
|
|
2020-03-23 13:56:59 +01:00
|
|
|
source "$(RIOTCPU)/sam0_common/Kconfig"
|