# if the sdcard_spi module is enabled, the SD Card Shield is used ifneq (,$(filter sdcard_spi,$(USEMODULE))) # default to using fatfs on SD card ifneq (,$(filter vfs_default,$(USEMODULE))) USEMODULE += fatfs_vfs USEMODULE += mtd endif ifneq (,$(filter mtd,$(USEMODULE))) USEMODULE += mtd_sdcard_default endif endif ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio endif include $(RIOTBOARD)/common/esp32/Makefile.dep