1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/pcd8544/Makefile

19 lines
544 B
Makefile

include ../Makefile.drivers_common
USEMODULE += shell
USEMODULE += pcd8544
# set default device parameters in case they are undefined
TEST_PCD8544_SPI ?= SPI_DEV\(0\)
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)
include $(RIOTBASE)/Makefile.include