ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio endif ifneq (,$(filter mtd,$(USEMODULE))) FEATURES_REQUIRED += periph_spi_on_qspi USEMODULE += mtd_spi_nor endif # default to using littlefs2 on the external flash ifneq (,$(filter vfs_default,$(USEMODULE))) USEPKG += littlefs2 USEMODULE += mtd endif # setup the samd21 arduino bootloader related dependencies include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep