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.
85 lines
1.9 KiB
Makefile
85 lines
1.9 KiB
Makefile
MODULE = shell_commands
|
|
|
|
SRC = shell_commands.c sc_sys.c
|
|
|
|
ifneq (,$(filter app_metadata,$(USEMODULE)))
|
|
SRC += sc_app_metadata.c
|
|
endif
|
|
ifneq (,$(filter mci,$(USEMODULE)))
|
|
SRC += sc_disk.c
|
|
endif
|
|
ifneq (,$(filter ps,$(USEMODULE)))
|
|
SRC += sc_ps.c
|
|
endif
|
|
ifneq (,$(filter sht1x,$(USEMODULE)))
|
|
SRC += sc_sht1x.c
|
|
endif
|
|
ifneq (,$(filter lpc2387,$(USEMODULE)))
|
|
SRC += sc_heap.c
|
|
endif
|
|
ifneq (,$(filter random,$(USEMODULE)))
|
|
SRC += sc_random.c
|
|
endif
|
|
ifneq (,$(filter at30tse75x,$(USEMODULE)))
|
|
SRC += sc_at30tse75x.c
|
|
endif
|
|
ifneq (,$(filter gnrc_netif,$(USEMODULE)))
|
|
SRC += sc_gnrc_netif.c
|
|
endif
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
|
SRC += sc_fib.c
|
|
endif
|
|
ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
|
|
SRC += sc_gnrc_ipv6_nib.c
|
|
endif
|
|
ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE)))
|
|
SRC += sc_whitelist.c
|
|
endif
|
|
ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
|
|
SRC += sc_blacklist.c
|
|
endif
|
|
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
|
|
ifneq (,$(filter xtimer,$(USEMODULE)))
|
|
SRC += sc_gnrc_icmpv6_echo.c
|
|
endif
|
|
endif
|
|
ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE)))
|
|
SRC += sc_gnrc_pktbuf.c
|
|
endif
|
|
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
|
|
SRC += sc_gnrc_rpl.c
|
|
endif
|
|
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
|
|
ifneq (,$(filter gnrc_ipv6_nib_6lbr,$(USEMODULE)))
|
|
SRC += sc_gnrc_6ctx.c
|
|
endif
|
|
endif
|
|
ifneq (,$(filter saul_reg,$(USEMODULE)))
|
|
SRC += sc_saul_reg.c
|
|
endif
|
|
ifneq (,$(filter ccn-lite-utils,$(USEMODULE)))
|
|
SRC += sc_ccnl.c
|
|
endif
|
|
ifneq (,$(filter sntp,$(USEMODULE)))
|
|
SRC += sc_sntp.c
|
|
endif
|
|
ifneq (,$(filter vfs,$(USEMODULE)))
|
|
SRC += sc_vfs.c
|
|
endif
|
|
ifneq (,$(filter conn_can,$(USEMODULE)))
|
|
SRC += sc_can.c
|
|
endif
|
|
ifneq (,$(filter cord_ep,$(USEMODULE)))
|
|
SRC += sc_cord_ep.c
|
|
endif
|
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
SRC += sc_rtc.c
|
|
endif
|
|
|
|
ifneq (,$(filter i2c_scan,$(USEMODULE)))
|
|
SRC += sc_i2c_scan.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|