sensors/Make.defs: Aligned Make with Cmake

This sensor was not present in the Make.defs file

     AMG88xx Infrared Array Sensor
     https://github.com/apache/nuttx/pull/12829

Moved:
    These drivers can be used with sensor connected over SPI or I2C bus
         Bosch Sensortec BMI160
         Bosch Sensortec BMI088

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18
2025-06-24 18:34:50 +02:00
committed by Lup Yuen Lee
parent b37b22eacd
commit 3349a40e9a
+24 -18
View File
@@ -78,6 +78,17 @@ ifeq ($(CONFIG_SENSORS_DHTXX),y)
CSRCS += dhtxx.c
endif
# These drivers can be used with sensor connected over SPI or I2C bus
ifeq ($(CONFIG_SENSORS_BMI160),y)
CSRCS += bmi160_base.c
ifeq ($(CONFIG_SENSORS_BMI160_UORB),y)
CSRCS += bmi160_uorb.c
else
CSRCS += bmi160.c
endif
endif
ifeq ($(CONFIG_SENSORS_BMI270),y)
CSRCS += bmi270_base.c
ifeq ($(CONFIG_SENSORS_BMI270_UORB),y)
@@ -87,6 +98,15 @@ else
endif
endif
ifeq ($(CONFIG_SENSORS_BMI088),y)
CSRCS += bmi088_base.c
ifeq ($(CONFIG_SENSORS_BMI088_UORB),y)
CSRCS += bmi088_uorb.c
else
CSRCS += bmi088.c
endif
endif
# These drivers depend on I2C support
ifeq ($(CONFIG_I2C),y)
@@ -181,24 +201,6 @@ ifeq ($(CONFIG_SENSORS_BMG160),y)
CSRCS += bmg160.c
endif
ifeq ($(CONFIG_SENSORS_BMI160),y)
CSRCS += bmi160_base.c
ifeq ($(CONFIG_SENSORS_BMI160_UORB),y)
CSRCS += bmi160_uorb.c
else
CSRCS += bmi160.c
endif
endif
ifeq ($(CONFIG_SENSORS_BMI088),y)
CSRCS += bmi088_base.c
ifeq ($(CONFIG_SENSORS_BMI088_UORB),y)
CSRCS += bmi088_uorb.c
else
CSRCS += bmi088.c
endif
endif
ifeq ($(CONFIG_SENSORS_BMP180),y)
CSRCS += bmp180_base.c
ifeq ($(CONFIG_SENSORS_BMP180_UORB),y)
@@ -336,6 +338,10 @@ ifeq ($(CONFIG_SENSORS_BMM150),y)
CSRCS += bmm150_uorb.c
endif
ifeq ($(CONFIG_SENSORS_AMG88XX),y)
CSRCS += amg88xx.c
endif
ifeq ($(CONFIG_SENSORS_TMP112),y)
CSRCS += tmp112.c
endif