From 594ead07dba2a5b957a921c0ea486890d164aa3d Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 20 Apr 2018 11:54:23 +0200 Subject: [PATCH 1/2] sys/arduino: drop cpp feature dependency Currently, the arduino module depends on the "cpp" feature. As AVR's don't have libstdc++, they don't provide that feature, as otherwise all cpp examples would break. But the AVR does provide a cpp compiler and thus the arduino module compiles just fine. This comit removes the cpp dependency from arduino module. --- Makefile.dep | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.dep b/Makefile.dep index 3c9a0a1a0d..fe41873223 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -534,7 +534,6 @@ endif ifneq (,$(filter arduino,$(USEMODULE))) FEATURES_REQUIRED += arduino - FEATURES_REQUIRED += cpp USEMODULE += xtimer endif From 7f62fd83ed0a8ca4d5c17035d42f4d6b762f3e42 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 20 Apr 2018 12:07:06 +0200 Subject: [PATCH 2/2] boards/arduino-atmega: don't provide arduino for jiminy-mega256rfr2 --- boards/common/arduino-atmega/Makefile.features | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boards/common/arduino-atmega/Makefile.features b/boards/common/arduino-atmega/Makefile.features index 7b4cdf7eb9..d139b8c537 100644 --- a/boards/common/arduino-atmega/Makefile.features +++ b/boards/common/arduino-atmega/Makefile.features @@ -7,7 +7,9 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # Various other features (if any) -FEATURES_PROVIDED += arduino +ifeq (,$(filter jiminy-mega256rfr2,$(BOARD))) + FEATURES_PROVIDED += arduino +endif # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = avr8