Browse Source

Merge pull request #2033 from haukepetersen/fix_msbiot_cpp

board/msbiot: added support for C++
dev/timer
BytesGalore 8 years ago
parent
commit
54c6fe7431
  1. 1
      boards/msbiot/Makefile.features
  2. 5
      boards/msbiot/Makefile.include

1
boards/msbiot/Makefile.features

@ -1 +1,2 @@
FEATURES_PROVIDED += cpp
FEATURES_PROVIDED += periph_gpio

5
boards/msbiot/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
@ -40,6 +41,10 @@ export FFLAGS = write bin/$(BOARD)/$(APPLICATION).hex 0x8000000
export DEBUGGER_FLAGS = $(RIOTBOARD)/$(BOARD)/dist/gdb.conf $(BINDIR)/$(APPLICATION).elf
export TERMFLAGS += -p "$(PORT)"
# unwanted (CXXUWFLAGS) and extra (CXXEXFLAGS) flags for c++
export CXXUWFLAGS +=
export CXXEXFLAGS +=
# use newLib nano-specs if available
ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
export LINKFLAGS += -specs=nano.specs -lc -lnosys

Loading…
Cancel
Save