mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6b0082bb3f
Add a trivial shell program that scans for all slaves on an I2C bus by iterating all of the possible 127 I2C addresses and checking for the ACK of the device.
12 lines
241 B
Makefile
12 lines
241 B
Makefile
ifneq (,$(filter eepreg,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_eeprom
|
|
endif
|
|
|
|
ifneq (,$(filter i2c_scan,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_i2c
|
|
endif
|
|
|
|
ifneq (,$(filter prng_fortuna,$(USEMODULE)))
|
|
CFLAGS += -DCRYPTO_AES
|
|
endif
|