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

28 lines
695 B
Makefile

BOARD ?= stm32f429i-disc1
include ../Makefile.drivers_common
USEMODULE += ili9341
USEMODULE += ztimer
USEMODULE += ztimer_msec
# As there is an 'Kconfig' we want to explicitly disable Kconfig by setting
# the variable to empty
SHOULD_RUN_KCONFIG ?=
# add include path for riot_logo.h
INCLUDES += -I$(RIOTBASE)/tests
include $(RIOTBASE)/Makefile.include
# Check if being configured via Kconfig
ifndef CONFIG_KCONFIG_USEMODULE_LCD
CFLAGS += -DCONFIG_LCD_LE_MODE
# The AVR architecture stores the image in the RAM, this usually doesn't fit.
# This flag excludes the image from the test
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
CFLAGS += -DCONFIG_NO_RIOT_IMAGE
endif
endif