1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_pcd8544/Makefile
2015-04-30 13:46:03 +02:00

24 lines
496 B
Makefile

APPLICATION = driver_pdc8544
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_gpio periph_spi
USEMODULE += uart0
USEMODULE += shell
USEMODULE += pcd8544
ifeq (,$(TEST_PCD8544_SPI))
CFLAGS += -DTEST_PCD8544_SPI=SPI_0
endif
ifeq (,$(TEST_PCD8544_CS))
CFLAGS += -DTEST_PCD8544_CS=GPIO_0
endif
ifeq (,$(TEST_PCD8544_RESET))
CFLAGS += -DTEST_PCD8544_RESET=GPIO_1
endif
ifeq (,$(TEST_PCD8544_MODE))
CFLAGS += -DTEST_PCD8544_MODE=GPIO_2
endif
include $(RIOTBASE)/Makefile.include