mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
43 lines
963 B
Plaintext
43 lines
963 B
Plaintext
# 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.
|
|
#
|
|
|
|
config CPU_COMMON_SAML1X
|
|
bool
|
|
select CPU_COMMON_SAM0
|
|
select CPU_CORE_CORTEX_M23
|
|
select HAS_CPU_SAML1X
|
|
select HAS_PERIPH_DMA
|
|
select HAS_PERIPH_GPIO_FAST_READ
|
|
select HAS_PERIPH_HWRNG
|
|
|
|
config CPU_FAM_SAML10
|
|
bool
|
|
select CPU_COMMON_SAML1X
|
|
|
|
config CPU_FAM_SAML11
|
|
bool
|
|
select CPU_COMMON_SAML1X
|
|
|
|
## Declaration of specific features
|
|
config HAS_CPU_SAML1X
|
|
bool
|
|
help
|
|
Indicates that a 'saml1x' cpu is being used.
|
|
|
|
## Common CPU symbols
|
|
config CPU_FAM
|
|
default "saml10" if CPU_FAM_SAML10
|
|
default "saml11" if CPU_FAM_SAML11
|
|
|
|
config CPU
|
|
default "saml1x" if CPU_COMMON_SAML1X
|
|
|
|
source "$(RIOTCPU)/saml1x/Kconfig.saml10"
|
|
source "$(RIOTCPU)/saml1x/Kconfig.saml11"
|
|
|
|
source "$(RIOTCPU)/sam0_common/Kconfig"
|