mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
34 lines
911 B
Makefile
34 lines
911 B
Makefile
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
ifneq (,$(filter eui_provider,$(USEMODULE)))
|
|
USEMODULE += at24mac
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_spi_on_qspi
|
|
USEMODULE += mtd_spi_nor
|
|
USEMODULE += mtd_at24cxxx at24mac
|
|
ifeq (,$(filter sam0_sdhc,$(USEMODULE)))
|
|
# during a transition period it is possible to use the `sam0_sdhc` MTD
|
|
# driver instead of the SD/MMC MTD driver
|
|
USEMODULE += mtd_sdmmc_default
|
|
endif
|
|
endif
|
|
|
|
# enables sam0_eth as default network device
|
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
|
USEMODULE += sam0_eth
|
|
endif
|
|
|
|
# default to using littlefs2 on the external flash and fatfs on SD card
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
USEPKG += littlefs2
|
|
# if ext2/3/4 is used, don't use FAT
|
|
ifeq (,$(filter lwext%_vfs,$(USEMODULE)))
|
|
USEMODULE += fatfs_vfs
|
|
endif
|
|
USEMODULE += mtd
|
|
endif
|