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

25 lines
679 B
Makefile
Raw Normal View History

include $(RIOTCPU)/efm32/efm32-info.mk
include $(RIOTCPU)/efm32/efm32-features.mk
CPU_ARCH = $(EFM32_ARCHITECTURE)
2019-11-16 14:07:53 +01:00
FEATURES_PROVIDED += arch_efm32
FEATURES_PROVIDED += cortexm_mpu
FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_flashpage
2019-08-04 12:32:54 +02:00
FEATURES_PROVIDED += periph_flashpage_raw
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
2018-04-11 18:39:59 +02:00
FEATURES_CONFLICT += periph_rtc:periph_rtt
FEATURES_CONFLICT_MSG += "On the EFM32, the RTC and RTT map to the same hardware peripheral."
2020-02-11 22:09:50 +01:00
ifeq (1,$(EFM32_TRNG))
FEATURES_PROVIDED += periph_hwrng
endif
2018-05-07 21:32:41 +02:00
ifeq (1,$(EFM32_LEUART_ENABLED))
CFLAGS += -DEFM32_LEUART_ENABLED=1
endif
2018-05-07 21:32:41 +02:00
include $(RIOTCPU)/cortexm_common/Makefile.features