mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
24 lines
511 B
Makefile
24 lines
511 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,0\)
|
|
endif
|
|
ifeq (,$(TEST_PCD8544_RESET))
|
|
CFLAGS += -DTEST_PCD8544_RESET=GPIO\(0,1\)
|
|
endif
|
|
ifeq (,$(TEST_PCD8544_MODE))
|
|
CFLAGS += -DTEST_PCD8544_MODE=GPIO\(0,2\)
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|