Skip to content

Commit

Permalink
examples/default: use SAUL
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Nov 30, 2015
1 parent f6dc6d0 commit 02f5024
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions examples/default/Makefile
Expand Up @@ -28,11 +28,14 @@ CFLAGS += -DDEVELHELP
QUIET ?= 1

# Modules to include:

USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
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 \
nrf6310 pba-d-01-kw2x pca10000 pca10005 saml21-xpro samr21-xpro spark-core \
Expand Down Expand Up @@ -61,16 +64,5 @@ ifneq (,$(filter msba2,$(BOARD)))
USEMODULE += mci
USEMODULE += random
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

0 comments on commit 02f5024

Please sign in to comment.