50fe984f37
Add an I2C driver for communicating to a BNO055 IMU via I2C bus and enable the BNO055 core driver to work in this scenario. Signed-off-by: Andrea Merello <andrea.merello@iit.it> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220907132205.28021-14-andrea.merello@iit.it Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
11 lines
350 B
Makefile
11 lines
350 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_BOSCH_BNO055) += bno055.o
|
|
obj-$(CONFIG_BOSCH_BNO055_SERIAL) += bno055_ser.o
|
|
bno055_ser-y := bno055_ser_core.o
|
|
# define_trace.h needs to know how to find our header
|
|
CFLAGS_bno055_ser_trace.o := -I$(src)
|
|
bno055_ser-$(CONFIG_TRACING) += bno055_ser_trace.o
|
|
|
|
obj-$(CONFIG_BOSCH_BNO055_I2C) += bno055_i2c.o
|