mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/saml1x: Specify CPU_FAM only in Makefile.features
This commit is contained in:
parent
e246e7ed2a
commit
84de2d8f7b
@ -1,4 +1,3 @@
|
|||||||
CPU_FAM = saml10
|
|
||||||
CFLAGS += -D__SAML10E16A__
|
CFLAGS += -D__SAML10E16A__
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/saml1x/Makefile.include
|
include $(RIOTBOARD)/common/saml1x/Makefile.include
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
CPU_FAM = saml11
|
|
||||||
CFLAGS += -D__SAML11E16A__
|
CFLAGS += -D__SAML11E16A__
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/saml1x/Makefile.include
|
include $(RIOTBOARD)/common/saml1x/Makefile.include
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
CPU_CORE = cortex-m23
|
CPU_CORE = cortex-m23
|
||||||
CPU_FAM = saml1x
|
|
||||||
|
ifneq (,$(filter saml10%,$(CPU_MODEL)))
|
||||||
|
CPU_FAM = saml10
|
||||||
|
else ifneq (,$(filter saml11%,$(CPU_MODEL)))
|
||||||
|
CPU_FAM = saml11
|
||||||
|
else
|
||||||
|
$(error Unknown saml1x CPU Model: $(CPU_MODEL))
|
||||||
|
endif
|
||||||
|
|
||||||
FEATURES_PROVIDED += cortexm_mpu
|
FEATURES_PROVIDED += cortexm_mpu
|
||||||
FEATURES_PROVIDED += periph_hwrng
|
FEATURES_PROVIDED += periph_hwrng
|
||||||
|
Loading…
Reference in New Issue
Block a user