mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
502 B
Makefile
20 lines
502 B
Makefile
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
# default to using fatfs on SD card
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
USEPKG += littlefs2
|
|
USEMODULE += fatfs_vfs
|
|
USEMODULE += mtd
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_spi_on_qspi
|
|
USEMODULE += mtd_spi_nor
|
|
USEMODULE += mtd_sdcard_default
|
|
endif
|
|
|
|
# setup the samd21 arduino bootloader related dependencies
|
|
include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep
|