2020-01-30 09:49:47 +01:00
|
|
|
CPU_ARCH = cortex-m0plus
|
|
|
|
CPU_FAM = saml21
|
|
|
|
|
2019-04-25 18:15:44 +02:00
|
|
|
# The SAMR30 line of MCUs does not contain a TRNG
|
|
|
|
BOARDS_WITHOUT_HWRNG += samr30-xpro
|
|
|
|
|
2019-05-08 13:27:43 +02:00
|
|
|
# Low Power SRAM is *not* retained during Backup Sleep.
|
|
|
|
# It therefore does not fulfill the requirements of the 'backup_ram' interface.
|
|
|
|
# It can still be used in normal and standby mode, but code that relies on it
|
|
|
|
# being availiable during deep sleep / backup mode will not be portable here.
|
|
|
|
FEATURES_PROVIDED += backup_ram
|
|
|
|
|
2019-04-25 18:15:44 +02:00
|
|
|
ifeq (,$(filter $(BOARDS_WITHOUT_HWRNG),$(BOARD)))
|
|
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
|
|
endif
|
|
|
|
|
2019-05-08 13:27:43 +02:00
|
|
|
|
2019-06-25 15:53:49 +02:00
|
|
|
include $(RIOTCPU)/sam0_common/Makefile.features
|