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
|
|
|
|
2020-10-02 20:08:25 +02:00
|
|
|
config CPU_FAM_SAMD10
|
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAMD21
|
2020-08-24 19:06:30 +02:00
|
|
|
|
|
|
|
config CPU_FAM_SAMD20
|
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAMD21
|
2020-10-02 20:08:25 +02: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
|
|
|
|
|
|
|
## Common CPU symbols
|
2020-06-16 14:23:17 +02:00
|
|
|
config CPU_FAM
|
2020-10-02 20:08:25 +02:00
|
|
|
default "samd10" if CPU_FAM_SAMD10
|
2020-08-24 19:06:30 +02:00
|
|
|
default "samd20" if CPU_FAM_SAMD20
|
2020-06-16 14:23:17 +02:00
|
|
|
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
|
|
|
|
|
2020-10-02 20:08:25 +02:00
|
|
|
source "$(RIOTCPU)/samd21/Kconfig.samd10"
|
2020-08-24 19:06:30 +02:00
|
|
|
source "$(RIOTCPU)/samd21/Kconfig.samd20"
|
2020-08-18 16:44:56 +02:00
|
|
|
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"
|