mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-19 11:33:51 +01:00
29 lines
672 B
Makefile
29 lines
672 B
Makefile
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
|
USEMODULE += ili9341
|
|
endif
|
|
|
|
# Sets up configuration for openocd
|
|
USEMODULE += esp_jtag
|
|
|
|
# default to using fatfs on SD card
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
USEMODULE += fatfs_vfs
|
|
USEMODULE += mtd
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
ifneq (,$(filter sdcard_spi,$(USEMODULE)))
|
|
# use SD Card in SPI mode if sdcard_spi is explicitly enabled
|
|
USEMODULE += mtd_sdcard_default
|
|
else
|
|
# use SDMMC host for the SD Card otherwise
|
|
USEMODULE += mtd_sdmmc_default
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|