1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/saml21/Makefile.features

22 lines
714 B
Makefile
Raw Normal View History

2020-06-10 13:11:32 +02:00
CPU_CORE = cortex-m0plus
2019-04-25 18:15:44 +02:00
# The SAMR30 line of MCUs does not contain a TRNG
CPU_MODELS_WITHOUT_HWRNG += samr30%
2019-04-25 18:15:44 +02:00
FEATURES_PROVIDED += periph_gpio_fast_read
FEATURES_PROVIDED += periph_uart_collision
# 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
FEATURES_PROVIDED += periph_rtc_mem
ifeq (,$(filter $(CPU_MODELS_WITHOUT_HWRNG),$(CPU_MODEL)))
2019-04-25 18:15:44 +02:00
FEATURES_PROVIDED += periph_hwrng
endif
include $(RIOTCPU)/sam0_common/Makefile.features