kopia lustrzana https://github.com/bristol-seds/pico-tracker
[makefile] add option in config.mk to include test stubs in build
rodzic
73d18dc2ad
commit
3d05e91947
|
@ -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
|
||||
#
|
||||
|
|
|
@ -34,6 +34,10 @@ TARGET_CHIP := SAMD20E18
|
|||
#
|
||||
#BOOTLOADER := true
|
||||
|
||||
# Build with tests?
|
||||
#
|
||||
TESTS := true
|
||||
|
||||
# Compiliation Flags
|
||||
#
|
||||
# Use this to set the debug level
|
||||
|
|
Ładowanie…
Reference in New Issue