2018-05-14 00:26:01 +02:00
|
|
|
include $(RIOTCPU)/efm32/efm32-features.mk
|
|
|
|
|
2017-11-13 16:08:08 +01:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
|
|
|
FEATURES_PROVIDED += periph_flashpage
|
2017-11-29 19:50:50 +01:00
|
|
|
|
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."
|
|
|
|
|
2017-11-29 19:50:50 +01:00
|
|
|
ifeq (1,$(EFM32_TNRG))
|
|
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
|
|
endif
|
2018-05-07 21:32:41 +02:00
|
|
|
|
2018-05-14 00:26:01 +02:00
|
|
|
ifeq (1,$(EFM32_UART_MODES))
|
|
|
|
export CFLAGS += -DEFM32_UART_MODES=1
|
|
|
|
endif
|
|
|
|
|
2018-05-07 21:32:41 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|