From 1d2ac15396e823f78a75cb970b4a48f4b1cdd9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Wed, 3 Nov 2021 17:15:54 +0100 Subject: [PATCH] pkg/arduino_sdi_12: cpp11-compat for all but atmega Doesn't work. --- pkg/arduino_sdi_12/Makefile.dep | 2 ++ tests/pkg_arduino_sdi_12/Makefile | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/arduino_sdi_12/Makefile.dep b/pkg/arduino_sdi_12/Makefile.dep index c57ce83fa6..89afe91ab5 100644 --- a/pkg/arduino_sdi_12/Makefile.dep +++ b/pkg/arduino_sdi_12/Makefile.dep @@ -2,6 +2,8 @@ FEATURES_REQUIRED += periph_gpio_irq ifneq (,$(filter cpu_core_atmega,$(FEATURES_USED))) USEMODULE += atmega_pcint +else + USEMODULE += cpp11-compat endif USEPKG += arduino_api diff --git a/tests/pkg_arduino_sdi_12/Makefile b/tests/pkg_arduino_sdi_12/Makefile index f21fa84e8b..7d89cdf508 100644 --- a/tests/pkg_arduino_sdi_12/Makefile +++ b/tests/pkg_arduino_sdi_12/Makefile @@ -1,9 +1,5 @@ include ../Makefile.tests_common -ifneq (,$(filter remote-revb,$(BOARD))) - USEMODULE += cpp11-compat -endif - USEPKG += arduino_sdi_12 BOARD_WHITELIST := \