2015-04-28 16:00:43 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += pcd8544
|
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# set default device parameters in case they are undefined
|
2016-11-08 18:45:19 +01:00
|
|
|
TEST_PCD8544_SPI ?= SPI_DEV\(0\)
|
2015-11-03 15:27:25 +01:00
|
|
|
TEST_PCD8544_CS ?= GPIO_PIN\(0,0\)
|
|
|
|
TEST_PCD8544_RESET ?= GPIO_PIN\(0,1\)
|
|
|
|
TEST_PCD8544_MODE ?= GPIO_PIN\(0,2\)
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_PCD8544_SPI=$(TEST_PCD8544_SPI)
|
|
|
|
CFLAGS += -DTEST_PCD8544_CS=$(TEST_PCD8544_CS)
|
|
|
|
CFLAGS += -DTEST_PCD8544_RESET=$(TEST_PCD8544_RESET)
|
|
|
|
CFLAGS += -DTEST_PCD8544_MODE=$(TEST_PCD8544_MODE)
|
2015-04-28 16:00:43 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|