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

boards: automatically import disp and touch device drivers

This commit is contained in:
Alexandre Abadie 2020-06-24 08:50:08 +02:00
parent 830ea3c19c
commit 3969f24dbe
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 16 additions and 0 deletions

View File

@ -6,5 +6,9 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += sht3x
endif
ifneq (,$(filter disp_dev,$(USEMODULE)))
USEMODULE += ili9341
endif
include $(RIOTBOARD)/common/nrf52/bootloader_nrfutil.dep.mk
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -7,5 +7,9 @@ ifneq (,$(filter mtd,$(USEMODULE)))
USEMODULE += mtd_spi_nor
endif
ifneq (,$(filter disp_dev,$(USEMODULE)))
USEMODULE += ili9341
endif
# include common nrf52 dependencies
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -1,3 +1,11 @@
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
ifneq (,$(filter disp_dev,$(USEMODULE)))
USEMODULE += ili9341
endif
ifneq (,$(filter touch_dev,$(USEMODULE)))
USEMODULE += stmpe811
endif