2019-09-05 17:40:22 +02:00
|
|
|
ifneq (,$(filter arduino,$(USEMODULE)))
|
|
|
|
FEATURES_OPTIONAL += periph_i2c
|
2019-08-29 13:43:21 +02:00
|
|
|
FEATURES_OPTIONAL += periph_spi
|
2020-01-20 16:30:11 +01:00
|
|
|
FEATURES_REQUIRED += periph_uart
|
2020-07-10 16:31:09 +02:00
|
|
|
FEATURES_REQUIRED += cpp
|
2020-06-25 09:34:11 +02:00
|
|
|
SKETCH_MODULE ?= arduino_sketches
|
|
|
|
USEMODULE += $(SKETCH_MODULE)
|
2019-09-05 17:40:22 +02:00
|
|
|
endif
|
|
|
|
|
2018-08-28 00:55:41 +02:00
|
|
|
ifneq (,$(filter eepreg,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_eeprom
|
|
|
|
endif
|
|
|
|
|
2019-06-13 14:52:59 +02:00
|
|
|
ifneq (,$(filter fmt_table,$(USEMODULE)))
|
|
|
|
USEMODULE += fmt
|
|
|
|
endif
|
|
|
|
|
2019-03-22 17:50:08 +01:00
|
|
|
ifneq (,$(filter i2c_scan,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-03-12 21:48:24 +01:00
|
|
|
ifneq (,$(filter prng_fortuna,$(USEMODULE)))
|
2020-03-05 12:34:03 +01:00
|
|
|
USEMODULE += crypto_aes
|
|
|
|
endif
|
|
|
|
|
2020-03-06 19:54:18 +01:00
|
|
|
ifneq (,$(filter crypto_aes_%,$(USEMODULE)))
|
|
|
|
USEMODULE += crypto_aes
|
|
|
|
endif
|
|
|
|
|
2020-03-05 12:34:03 +01:00
|
|
|
ifneq (,$(filter crypto_%,$(USEMODULE)))
|
|
|
|
USEMODULE += crypto
|
2018-03-12 21:48:24 +01:00
|
|
|
endif
|
2019-03-23 14:20:18 +01:00
|
|
|
|
2020-03-19 17:17:17 +01:00
|
|
|
ifneq (,$(filter rtt_cmd,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_rtt
|
|
|
|
endif
|
|
|
|
|
2020-06-04 14:26:48 +02:00
|
|
|
ifneq (,$(filter trace,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2019-08-29 11:21:19 +02:00
|
|
|
ifneq (,$(filter shell_commands,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter dfplayer,$(USEMODULE)))
|
|
|
|
USEMODULE += auto_init_multimedia
|
|
|
|
USEMODULE += fmt
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2019-03-23 14:20:18 +01:00
|
|
|
include $(RIOTBASE)/sys/test_utils/Makefile.dep
|