1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/samd21/Kconfig
Leandro Lanzieri d87f0cc66b
cpu/kconfig: Rename CPU classification symbols
This removes the `CPU_FAMILY` and `CPU_SERIES` common CPU symbols and
adds `CPU_FAM` instead.
2020-06-16 14:27:27 +02:00

57 lines
1.2 KiB
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_FAM_SAMD21
bool
select CPU_COMMON_SAM0
select CPU_CORE_CORTEX_M0PLUS
select HAS_CPU_SAMD21
select HAS_PUF_SRAM
## CPU Models
config CPU_MODEL_SAMD21E18A
bool
select CPU_FAM_SAMD21
config CPU_MODEL_SAMD21G18A
bool
select CPU_FAM_SAMD21
config CPU_MODEL_SAMD21J18A
bool
select CPU_FAM_SAMD21
config CPU_MODEL_SAMR21E18A
bool
select CPU_FAM_SAMD21
config CPU_MODEL_SAMR21G18A
bool
select CPU_FAM_SAMD21
## Definition of specific features
config HAS_CPU_SAMD21
bool
help
Indicates that a 'samd21' cpu is being used.
## Common CPU symbols
config CPU_FAM
default "samd21" if CPU_FAM_SAMD21
config CPU_MODEL
default "samd21e18a" if CPU_MODEL_SAMD21E18A
default "samd21g18a" if CPU_MODEL_SAMD21G18A
default "samd21j18a" if CPU_MODEL_SAMD21J18A
default "samr21e18a" if CPU_MODEL_SAMR21E18A
default "samr21g18a" if CPU_MODEL_SAMR21G18A
config CPU
default "samd21"
source "$(RIOTCPU)/sam0_common/Kconfig"