examples/default: use SAUL
This commit is contained in:
parent
f6dc6d0475
commit
02f502429d
@ -28,11 +28,14 @@ CFLAGS += -DDEVELHELP
|
|||||||
QUIET ?= 1
|
QUIET ?= 1
|
||||||
|
|
||||||
# Modules to include:
|
# Modules to include:
|
||||||
|
|
||||||
USEMODULE += shell
|
USEMODULE += shell
|
||||||
USEMODULE += shell_commands
|
USEMODULE += shell_commands
|
||||||
USEMODULE += ps
|
USEMODULE += ps
|
||||||
USEMODULE += config
|
USEMODULE += config
|
||||||
|
# include and auto-initialize all available sensors
|
||||||
|
USEMODULE += saul_reg
|
||||||
|
USEMODULE += saul_default
|
||||||
|
USEMODULE += auto_init_saul
|
||||||
|
|
||||||
BOARD_PROVIDES_NETIF := airfy-beacon fox iotlab-m3 mulle native nrf51dongle \
|
BOARD_PROVIDES_NETIF := airfy-beacon fox iotlab-m3 mulle native nrf51dongle \
|
||||||
nrf6310 pba-d-01-kw2x pca10000 pca10005 saml21-xpro samr21-xpro spark-core \
|
nrf6310 pba-d-01-kw2x pca10000 pca10005 saml21-xpro samr21-xpro spark-core \
|
||||||
@ -61,16 +64,5 @@ ifneq (,$(filter msba2,$(BOARD)))
|
|||||||
USEMODULE += mci
|
USEMODULE += mci
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter iotlab-m3,$(BOARD)))
|
|
||||||
USEMODULE += isl29020
|
|
||||||
USEMODULE += lps331ap
|
|
||||||
USEMODULE += l3g4200d
|
|
||||||
USEMODULE += lsm303dlhc
|
|
||||||
endif
|
|
||||||
ifneq (,$(filter fox,$(BOARD)))
|
|
||||||
USEMODULE += lps331ap
|
|
||||||
USEMODULE += l3g4200d
|
|
||||||
USEMODULE += lsm303dlhc
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user