mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
415 B
Makefile
18 lines
415 B
Makefile
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
|
USEMODULE += stdio_cdc_acm
|
|
endif
|
|
|
|
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
|