mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
422 B
Makefile
20 lines
422 B
Makefile
include ../Makefile.drivers_common
|
|
|
|
# define the driver to be used for selected boards
|
|
ifneq (,$(filter stm32f429i-disc1 stm32f429i-disco stm32f3discovery,$(BOARD)))
|
|
DRIVER := i3g4250d
|
|
endif
|
|
|
|
ifneq (,$(filter iotlab-m3 iotlab-a8-m3,$(BOARD)))
|
|
DRIVER := l3g4200d_ng
|
|
endif
|
|
|
|
DRIVER ?= l3gd20h
|
|
|
|
USEMODULE += $(DRIVER)
|
|
USEMODULE += l3gxxxx
|
|
USEMODULE += ztimer
|
|
USEMODULE += ztimer_msec
|
|
|
|
include $(RIOTBASE)/Makefile.include
|