mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
28 lines
666 B
Makefile
28 lines
666 B
Makefile
include $(RIOTBOARD)/common/esp32s3/stdio_esp32s3_default.dep.mk
|
|
|
|
# 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 disp_dev,$(USEMODULE)))
|
|
USEMODULE += st7789
|
|
endif
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
USEMODULE += boards_common_esp32s3
|