2020-10-08 20:53:56 +02:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
|
|
|
|
|
|
|
|
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
|
|
|
# The Mask-ROM bootloader provides USB-DFU capability
|
|
|
|
FEATURES_REQUIRED += bootloader_stm32
|
|
|
|
USEMODULE += usb_board_reset
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
|
|
USEMODULE += mtd_spi_nor
|
|
|
|
endif
|
2022-02-14 14:35:31 +01:00
|
|
|
|
|
|
|
# default to using littlefs2 on the external flash
|
|
|
|
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
|
|
|
USEPKG += littlefs2
|
|
|
|
USEMODULE += mtd
|
|
|
|
endif
|