sensors: tmp007: move tmp007 to own directory under drivers/sensor/
Change-Id: If5fd1277ec93455ee7a1e856357dfab0930a653c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bdfeda0a73
commit
623b43f5dc
7 changed files with 7 additions and 6 deletions
|
@ -98,6 +98,6 @@ source "drivers/sensor/sx9500/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/th02/Kconfig"
|
source "drivers/sensor/th02/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/Kconfig.tmp007"
|
source "drivers/sensor/tmp007/Kconfig"
|
||||||
|
|
||||||
source "drivers/sensor/Kconfig.tmp112"
|
source "drivers/sensor/Kconfig.tmp112"
|
||||||
|
|
|
@ -24,6 +24,5 @@ obj-$(CONFIG_MPU6050) += mpu6050/
|
||||||
obj-$(CONFIG_SHT3XD) += sht3xd/
|
obj-$(CONFIG_SHT3XD) += sht3xd/
|
||||||
obj-$(CONFIG_SX9500) += sx9500/
|
obj-$(CONFIG_SX9500) += sx9500/
|
||||||
obj-$(CONFIG_TH02) += th02/
|
obj-$(CONFIG_TH02) += th02/
|
||||||
obj-$(CONFIG_TMP007) += sensor_tmp007.o
|
obj-$(CONFIG_TMP007) += tmp007/
|
||||||
obj-$(CONFIG_TMP007_TRIGGER) += sensor_tmp007_trigger.o
|
|
||||||
obj-$(CONFIG_TMP112) += sensor_tmp112.o
|
obj-$(CONFIG_TMP112) += sensor_tmp112.o
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Kconfig.tmp007 - TMP007 infrared thermopile sensor configuration options
|
# Kconfig - TMP007 infrared thermopile sensor configuration options
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 Intel Corporation
|
# Copyright (c) 2016 Intel Corporation
|
2
drivers/sensor/tmp007/Makefile
Normal file
2
drivers/sensor/tmp007/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
obj-$(CONFIG_TMP007) += tmp007.o
|
||||||
|
obj-$(CONFIG_TMP007_TRIGGER) += tmp007_trigger.o
|
|
@ -23,7 +23,7 @@
|
||||||
#include <sensor.h>
|
#include <sensor.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
#include "sensor_tmp007.h"
|
#include "tmp007.h"
|
||||||
|
|
||||||
int tmp007_reg_read(struct tmp007_data *drv_data, uint8_t reg, uint16_t *val)
|
int tmp007_reg_read(struct tmp007_data *drv_data, uint8_t reg, uint16_t *val)
|
||||||
{
|
{
|
|
@ -20,7 +20,7 @@
|
||||||
#include <nanokernel.h>
|
#include <nanokernel.h>
|
||||||
#include <sensor.h>
|
#include <sensor.h>
|
||||||
|
|
||||||
#include "sensor_tmp007.h"
|
#include "tmp007.h"
|
||||||
|
|
||||||
extern struct tmp007_data tmp007_driver;
|
extern struct tmp007_data tmp007_driver;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue