[makefile] add option in config.mk to include test stubs in build

main-solar-only
Richard Meadows 2016-08-12 22:29:40 +01:00
rodzic 73d18dc2ad
commit 3d05e91947
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -112,10 +112,12 @@ endif
SYSTEM ?= chip/system_samd20.c chip/startup_samd20.c
INCLUDE_PATH += chip/ chip/cmsis/ samd20/ samd20/component/ test/tc/
# Verification suite code
# Test suite enabled?
#
#
ifdef TESTS
SYSTEM += test/tmain.c
endif
# Linker Scripts
#

Wyświetl plik

@ -34,6 +34,10 @@ TARGET_CHIP := SAMD20E18
#
#BOOTLOADER := true
# Build with tests?
#
TESTS := true
# Compiliation Flags
#
# Use this to set the debug level