From bbb0606e33b6f3a0860aedb6f26ab1c83bd1cb07 Mon Sep 17 00:00:00 2001
From: Bas Stottelaar <basstottelaar@gmail.com>
Date: Wed, 11 Apr 2018 18:39:59 +0200
Subject: [PATCH] cpu: efm32: mark rtc+rtt as conflict.

---
 cpu/efm32/Makefile.features | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cpu/efm32/Makefile.features b/cpu/efm32/Makefile.features
index 327743ecc7..3fd4dfc3d7 100644
--- a/cpu/efm32/Makefile.features
+++ b/cpu/efm32/Makefile.features
@@ -2,6 +2,9 @@ FEATURES_PROVIDED += periph_cpuid
 FEATURES_PROVIDED += periph_flashpage
 FEATURES_PROVIDED += periph_pm
 
+FEATURES_CONFLICT += periph_rtc:periph_rtt
+FEATURES_CONFLICT_MSG += "On the EFM32, the RTC and RTT map to the same hardware peripheral."
+
 ifeq (1,$(EFM32_TNRG))
   FEATURES_PROVIDED += periph_hwrng
 endif
-- 
GitLab