1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/samd5x: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-07-10 10:18:22 +02:00
parent 15110af51c
commit 1c9a95e955
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -5,4 +5,34 @@
# directory for more details.
#
config CPU_FAM_SAMD5X
bool
select CPU_COMMON_SAM0
select CPU_CORE_CORTEX_M4F
select HAS_BACKUP_RAM
select HAS_CORTEXM_MPU
select HAS_CPU_SAMD5X
select HAS_PERIPH_HWRNG
## CPU Models
config CPU_MODEL_SAME54P20A
bool
select CPU_FAM_SAMD5X
## Declaration of specific features
config HAS_CPU_SAMD5X
bool
help
Indicates that a 'samd5x' cpu is being used.
## CPU common symbols
config CPU_FAM
default "samd5x" if CPU_FAM_SAMD5X
config CPU_MODEL
default "same54p20a" if CPU_MODEL_SAME54P20A
config CPU
default "samd5x" if CPU_FAM_SAMD5X
source "$(RIOTCPU)/sam0_common/Kconfig"