From 0b70a7897a027da3d431b027bda09ea7eb18c32a Mon Sep 17 00:00:00 2001 From: iosabi Date: Sat, 19 Dec 2020 13:37:26 +0000 Subject: [PATCH] boards/qn9080dk: Add mma8x5x driver for MMA8652FC The qn9080dk includes a MMA8652FC chip connected to the I2C0 bus, this patch adds the driver for the in the default. Note that the MMA8652FC device is powered from the LPC_VCC line, which is different from the QN_VCC line that powers the QN9080 MCU. A voltage level translator is included in the QN9080DK which is only enabled when JP11 (labeled "G-Sensor I2C") is closed and the LPC debugger hardware is powered, for example from the USB port. --- boards/qn9080dk/Makefile.dep | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/qn9080dk/Makefile.dep b/boards/qn9080dk/Makefile.dep index 5472bf8b8d..58c24beac3 100644 --- a/boards/qn9080dk/Makefile.dep +++ b/boards/qn9080dk/Makefile.dep @@ -1,3 +1,4 @@ ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio + USEMODULE += mma8x5x endif