diff --git a/boards/openmote/Makefile.features b/boards/openmote/Makefile.features index 68545ecde2..27a54eb4d0 100644 --- a/boards/openmote/Makefile.features +++ b/boards/openmote/Makefile.features @@ -1 +1,2 @@ +FEATURES_PROVIDED += cpp FEATURES_PROVIDED += periph_gpio periph_random periph_cpuid diff --git a/boards/openmote/Makefile.include b/boards/openmote/Makefile.include index 44b2a72435..b3b99c5e0b 100644 --- a/boards/openmote/Makefile.include +++ b/boards/openmote/Makefile.include @@ -17,6 +17,7 @@ export PORT # define tools used for building the project export PREFIX = arm-none-eabi- export CC = $(PREFIX)gcc +export CXX = $(PREFIX)g++ export AR = $(PREFIX)ar export AS = $(PREFIX)as export LINK = $(PREFIX)gcc @@ -44,6 +45,10 @@ export FFLAGS = $(BINDIR) $(HEXFILE) export DEBUGGER_FLAGS = $(BINDIR) $(ELFFILE) export RESET_FLAGS = $(BINDIR) +# unwanted (CXXUWFLAGS) and extra (CXXEXFLAGS) flags for c++ +export CXXUWFLAGS += +export CXXEXFLAGS += + # use the nano-specs of the NewLib when available ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null