mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
37 lines
991 B
Makefile
37 lines
991 B
Makefile
MODULE = esp_idf_lcd
|
|
|
|
# source files to be compiled for this module
|
|
ESP32_SDK_SRC = \
|
|
components/esp_lcd/src/esp_lcd_common.c \
|
|
components/esp_lcd/src/esp_lcd_panel_io.c \
|
|
components/esp_pm/pm_locks.c \
|
|
components/soc/$(CPU_FAM)/lcd_periph.c \
|
|
#
|
|
|
|
ifeq (esp32s3,$(CPU_FAM))
|
|
ESP32_SDK_SRC += \
|
|
components/driver/gdma.c \
|
|
components/esp_lcd/src/esp_lcd_panel_io_i80.c \
|
|
components/hal/gdma_hal.c \
|
|
components/hal/lcd_hal.c \
|
|
components/soc/$(CPU_FAM)/gdma_periph.c \
|
|
#
|
|
else ifneq (,$(filter esp32 esp32s2,$(CPU_FAM)))
|
|
ESP32_SDK_SRC = \
|
|
components/driver/i2s.c \
|
|
components/esp_lcd/src/esp_lcd_panel_io_i2s.c \
|
|
components/hal/i2s_hal.c \
|
|
#
|
|
endif
|
|
|
|
# additional include pathes required by this module
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_lcd/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_lcd/interface
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)
|
|
|
|
include ../esp_idf.mk
|
|
include ../esp_idf_cflags.mk
|