mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/cpp11_thread: Clean up Makefile
- Remove BOARD_WHITELIST - Clean up CXXFLAGS - Clean up CFLAGS - Blacklist boards where the C++ library is too large on Travis
This commit is contained in:
parent
0a11d79e9d
commit
2e36564ea1
@ -4,22 +4,28 @@ APPLICATION = cpp11_thread
|
|||||||
# If no BOARD is found in the environment, use this default:
|
# If no BOARD is found in the environment, use this default:
|
||||||
BOARD ?= native
|
BOARD ?= native
|
||||||
|
|
||||||
|
# ROM is overflowing for these boards when using
|
||||||
|
# gcc-arm-none-eabi-4.9.3.2015q2-1trusty1 from ppa:terry.guo/gcc-arm-embedded
|
||||||
|
# (Travis is using this PPA currently, 2015-06-23)
|
||||||
|
# Debian jessie libstdc++-arm-none-eabi-newlib-4.8.3-9+4 works fine, though.
|
||||||
|
# Remove this line if Travis is upgraded to a different toolchain which does
|
||||||
|
# not pull in all C++ locale code whenever exceptions are used.
|
||||||
|
BOARD_INSUFFICIENT_RAM := stm32f0discovery spark-core nucleo-f334
|
||||||
|
|
||||||
# This has to be the absolute path to the RIOT base directory:
|
# This has to be the absolute path to the RIOT base directory:
|
||||||
RIOTBASE ?= $(CURDIR)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
||||||
# Comment this out to disable code in RIOT that does safety checking
|
# Comment this out to disable code in RIOT that does safety checking
|
||||||
# which is not needed in a production environment but helps in the
|
# which is not needed in a production environment but helps in the
|
||||||
# development process:
|
# development process:
|
||||||
CFLAGS += -DDEVELHELP -Wno-deprecated
|
CFLAGS += -DDEVELHELP
|
||||||
|
|
||||||
# Change this to 0 show compiler invocation lines by default:
|
# Change this to 0 show compiler invocation lines by default:
|
||||||
QUIET ?= 1
|
QUIET ?= 1
|
||||||
|
|
||||||
BOARD_WHITELIST := stm32f4discovery native
|
|
||||||
|
|
||||||
# If you want to add some extra flags when compile c++ files, add these flags
|
# If you want to add some extra flags when compile c++ files, add these flags
|
||||||
# to CXXEXFLAGS variable
|
# to CXXEXFLAGS variable
|
||||||
CXXEXFLAGS += -std=c++11 -g -O0 -Wno-deprecated
|
CXXEXFLAGS += -std=c++11
|
||||||
|
|
||||||
USEMODULE += cpp11-compat
|
USEMODULE += cpp11-compat
|
||||||
USEMODULE += vtimer
|
USEMODULE += vtimer
|
||||||
|
Loading…
Reference in New Issue
Block a user