2020-03-23 13:58:08 +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:10:08 +02:00
|
|
|
config CPU_COMMON_SAMD5X
|
2020-07-10 10:18:22 +02:00
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAM0
|
|
|
|
select CPU_CORE_CORTEX_M4F
|
|
|
|
|
2020-08-18 17:10:08 +02:00
|
|
|
config CPU_FAM_SAMD51
|
2020-07-10 10:18:22 +02:00
|
|
|
bool
|
2020-08-18 17:10:08 +02:00
|
|
|
select CPU_COMMON_SAMD5X
|
|
|
|
|
|
|
|
config CPU_FAM_SAME54
|
|
|
|
bool
|
|
|
|
select CPU_COMMON_SAMD5X
|
2020-07-10 10:18:22 +02:00
|
|
|
|
|
|
|
## CPU common symbols
|
|
|
|
config CPU_FAM
|
2020-08-18 17:10:08 +02:00
|
|
|
default "samd51" if CPU_FAM_SAMD51
|
|
|
|
default "same54" if CPU_FAM_SAME54
|
2020-07-10 10:18:22 +02:00
|
|
|
|
|
|
|
config CPU
|
2020-08-18 17:10:08 +02:00
|
|
|
default "samd5x" if CPU_COMMON_SAMD5X
|
|
|
|
|
|
|
|
source "$(RIOTCPU)/samd5x/Kconfig.samd51"
|
|
|
|
source "$(RIOTCPU)/samd5x/Kconfig.same54"
|
2020-07-10 10:18:22 +02:00
|
|
|
|
2020-03-23 13:58:08 +01:00
|
|
|
source "$(RIOTCPU)/sam0_common/Kconfig"
|