You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
418 B

APPLICATION = driver_srf02
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += xtimer
USEMODULE += srf02
USEMODULE += shell
# set default device parameters in case they are undefined
TEST_SRF02_I2C ?= I2C_DEV\(0\)
TEST_MODE ?= SRF02_MODE_REAL_CM
# export parameters
CFLAGS += -DTEST_SRF02_I2C=$(TEST_SRF02_I2C)
CFLAGS += -DTEST_MODE=$(TEST_MODE)
include $(RIOTBASE)/Makefile.include