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 := \