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:
parent
830ea3c19c
commit
3969f24dbe
@ -6,5 +6,9 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += sht3x
|
USEMODULE += sht3x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
||||||
|
USEMODULE += ili9341
|
||||||
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52/bootloader_nrfutil.dep.mk
|
include $(RIOTBOARD)/common/nrf52/bootloader_nrfutil.dep.mk
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
||||||
|
@ -7,5 +7,9 @@ ifneq (,$(filter mtd,$(USEMODULE)))
|
|||||||
USEMODULE += mtd_spi_nor
|
USEMODULE += mtd_spi_nor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
||||||
|
USEMODULE += ili9341
|
||||||
|
endif
|
||||||
|
|
||||||
# include common nrf52 dependencies
|
# include common nrf52 dependencies
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.dep
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
||||||
|
USEMODULE += ili9341
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter touch_dev,$(USEMODULE)))
|
||||||
|
USEMODULE += stmpe811
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user