sensors: mpu6050: move mpu6050 to own directory under drivers/sensor/
Change-Id: Ia0c4e81f8725da6fc5fead7a86320b613336e702 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6977cad1e2
commit
cce03b127d
7 changed files with 7 additions and 6 deletions
|
@ -90,7 +90,7 @@ source "drivers/sensor/max44009/Kconfig"
|
|||
|
||||
source "drivers/sensor/mcp9808/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.mpu6050"
|
||||
source "drivers/sensor/mpu6050/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.sht3xd"
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@ obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro/
|
|||
obj-$(CONFIG_LSM9DS0_MFD) += lsm9ds0_mfd/
|
||||
obj-$(CONFIG_MAX44009) += max44009/
|
||||
obj-$(CONFIG_MCP9808) += mcp9808/
|
||||
obj-$(CONFIG_MPU6050) += sensor_mpu6050.o
|
||||
obj-$(CONFIG_MPU6050_TRIGGER) += sensor_mpu6050_trigger.o
|
||||
obj-$(CONFIG_MPU6050) += mpu6050/
|
||||
obj-$(CONFIG_SHT3XD) += sensor_sht3xd.o
|
||||
obj-$(CONFIG_SHT3XD_TRIGGER) += sensor_sht3xd_trigger.o
|
||||
obj-$(CONFIG_SX9500) += sensor_sx9500.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.mpu6050 - MPU6050 Six-Axis Motion Tracking device configuration options
|
||||
# Kconfig - MPU6050 Six-Axis Motion Tracking device configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
2
drivers/sensor/mpu6050/Makefile
Normal file
2
drivers/sensor/mpu6050/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_MPU6050) += mpu6050.o
|
||||
obj-$(CONFIG_MPU6050_TRIGGER) += mpu6050_trigger.o
|
|
@ -19,7 +19,7 @@
|
|||
#include <misc/byteorder.h>
|
||||
#include <sensor.h>
|
||||
|
||||
#include "sensor_mpu6050.h"
|
||||
#include "mpu6050.h"
|
||||
|
||||
/* see "Accelerometer Measurements" section from register map description */
|
||||
static void mpu6050_convert_accel(struct sensor_value *val, int16_t raw_val,
|
|
@ -20,7 +20,7 @@
|
|||
#include <nanokernel.h>
|
||||
#include <sensor.h>
|
||||
|
||||
#include "sensor_mpu6050.h"
|
||||
#include "mpu6050.h"
|
||||
|
||||
int mpu6050_trigger_set(struct device *dev,
|
||||
const struct sensor_trigger *trig,
|
Loading…
Add table
Add a link
Reference in a new issue