1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/lcd/Makefile.dep
Gunar Schorcht 04c3facd8e drivers/lcd: add MCU 8080 8-/16-bit parallel mode support
For the parallel interface support the following changes were made:

1. Additional `lcd_*` pseudomodules are defined to control whether SPI serial or MCU 8080 8-/16-bit parallel interface is used.
2. The low level function implementation was extended for parallel interfaces so that the now can use either the SPI serial interface or the MCU 8080 8-/16-bit parallel interface.

Using the `lcc_*` modules, either the SPI serial interface or the MCU 8080 8-/16-bit interface or even both for multiple display can be used simultaneously.
2023-09-20 13:03:36 +02:00

15 lines
356 B
Makefile

FEATURES_REQUIRED += periph_gpio
ifneq (,$(filter lcd_parallel_16bit,$(USEMODULE)))
USEMODULE += lcd_parallel
endif
ifeq (,$(filter lcd_parallel%,$(USEMODULE)))
# default to SPI serial interface if no MCU 8080 parallel interface is enabled
USEMODULE += lcd_spi
endif
ifneq (,$(filter lcd_spi,$(USEMODULE)))
FEATURES_REQUIRED += periph_spi
endif