mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cc50da690b
Added an Arduino compatible SPI API on top of RIOT's SPI API.
23 lines
473 B
Makefile
23 lines
473 B
Makefile
ifneq (,$(filter arduino,$(USEMODULE)))
|
|
FEATURES_OPTIONAL += periph_i2c
|
|
FEATURES_OPTIONAL += periph_spi
|
|
endif
|
|
|
|
ifneq (,$(filter eepreg,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_eeprom
|
|
endif
|
|
|
|
ifneq (,$(filter fmt_table,$(USEMODULE)))
|
|
USEMODULE += fmt
|
|
endif
|
|
|
|
ifneq (,$(filter i2c_scan,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_i2c
|
|
endif
|
|
|
|
ifneq (,$(filter prng_fortuna,$(USEMODULE)))
|
|
CFLAGS += -DCRYPTO_AES
|
|
endif
|
|
|
|
include $(RIOTBASE)/sys/test_utils/Makefile.dep
|