1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

29 lines
658 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
USEMODULE += boards_common_esp32