mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
cpu/saml1x: Add Kconfig symbols
This commit is contained in:
parent
84de2d8f7b
commit
38636a8089
@ -5,4 +5,47 @@
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config CPU_COMMON_SAML1X
|
||||
bool
|
||||
select CPU_COMMON_SAM0
|
||||
select CPU_CORE_CORTEX_M23
|
||||
select HAS_CORTEXM_MPU
|
||||
select HAS_CPU_SAML1X
|
||||
select HAS_PERIPH_HWRNG
|
||||
|
||||
config CPU_FAM_SAML10
|
||||
bool
|
||||
select CPU_COMMON_SAML1X
|
||||
|
||||
config CPU_FAM_SAML11
|
||||
bool
|
||||
select CPU_COMMON_SAML1X
|
||||
|
||||
## CPU Models
|
||||
config CPU_MODEL_SAML10E16A
|
||||
bool
|
||||
select CPU_FAM_SAML10
|
||||
|
||||
config CPU_MODEL_SAML11E16A
|
||||
bool
|
||||
select CPU_FAM_SAML11
|
||||
|
||||
## 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_MODEL
|
||||
default "saml10e16a" if CPU_MODEL_SAML10E16A
|
||||
default "saml11e16a" if CPU_MODEL_SAML11E16A
|
||||
|
||||
config CPU
|
||||
default "saml1x" if CPU_COMMON_SAML1X
|
||||
|
||||
source "$(RIOTCPU)/sam0_common/Kconfig"
|
||||
|
Loading…
Reference in New Issue
Block a user