2014-10-15 11:29:41 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2015-09-04 18:47:13 +02:00
|
|
|
USEMODULE += xtimer
|
2014-10-15 11:29:41 +02:00
|
|
|
USEMODULE += srf02
|
2016-02-10 18:27:07 +01:00
|
|
|
USEMODULE += shell
|
2014-10-15 11:29:41 +02:00
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# set default device parameters in case they are undefined
|
2016-11-24 09:09:29 +01:00
|
|
|
TEST_SRF02_I2C ?= I2C_DEV\(0\)
|
2015-11-03 15:27:25 +01:00
|
|
|
TEST_MODE ?= SRF02_MODE_REAL_CM
|
2014-10-15 11:29:41 +02:00
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_SRF02_I2C=$(TEST_SRF02_I2C)
|
|
|
|
CFLAGS += -DTEST_MODE=$(TEST_MODE)
|
2014-10-15 11:29:41 +02:00
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|