2020-06-10 13:11:32 +02:00
|
|
|
CPU_CORE = cortex-m0plus
|
2020-01-30 09:49:47 +01:00
|
|
|
|
2019-04-25 18:15:44 +02:00
|
|
|
# The SAMR30 line of MCUs does not contain a TRNG
|
2020-05-29 15:53:24 +02:00
|
|
|
CPU_MODELS_WITHOUT_HWRNG += samr30%
|
2019-04-25 18:15:44 +02:00
|
|
|
|
2020-09-10 21:59:40 +02:00
|
|
|
FEATURES_PROVIDED += periph_gpio_fast_read
|
2021-07-26 14:42:36 +02:00
|
|
|
FEATURES_PROVIDED += periph_uart_collision
|
2020-09-10 21:59:40 +02:00
|
|
|
|
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
|
2021-08-19 18:38:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_rtc_mem
|
2019-05-08 13:27:43 +02:00
|
|
|
|
2020-05-29 15:53:24 +02:00
|
|
|
ifeq (,$(filter $(CPU_MODELS_WITHOUT_HWRNG),$(CPU_MODEL)))
|
2019-04-25 18:15:44 +02:00
|
|
|
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
|