2019-03-12 14:01:06 +01:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
2020-09-03 20:11:42 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter eui_provider,$(USEMODULE)))
|
|
|
|
USEMODULE += at24mac
|
|
|
|
endif
|
2020-11-01 23:51:23 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi_on_qspi
|
|
|
|
USEMODULE += mtd_spi_nor
|
2021-01-24 00:26:12 +01:00
|
|
|
USEMODULE += mtd_at24cxxx at24mac
|
2023-09-14 12:43:10 +02:00
|
|
|
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
|
2020-11-01 23:51:23 +01:00
|
|
|
endif
|
2020-12-13 21:42:15 +01:00
|
|
|
|
|
|
|
# enables sam0_eth as default network device
|
|
|
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
|
|
|
USEMODULE += sam0_eth
|
|
|
|
endif
|
2022-02-11 16:46:56 +01:00
|
|
|
|
2022-03-20 21:06:13 +01:00
|
|
|
# default to using littlefs2 on the external flash and fatfs on SD card
|
2022-02-11 16:46:56 +01:00
|
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
|
|
USEPKG += littlefs2
|
2022-10-03 18:14:00 +02:00
|
|
|
# if ext2/3/4 is used, don't use FAT
|
|
|
|
ifeq (,$(filter lwext%_vfs,$(USEMODULE)))
|
|
|
|
USEMODULE += fatfs_vfs
|
|
|
|
endif
|
2022-02-11 16:46:56 +01:00
|
|
|
USEMODULE += mtd
|
|
|
|
endif
|