mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
cmake: add support for sensors/bmi270
This commit is contained in:
@@ -49,6 +49,10 @@ if(CONFIG_SENSORS)
|
|||||||
list(APPEND SRCS dhtxx.c)
|
list(APPEND SRCS dhtxx.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_SENSORS_BMI270)
|
||||||
|
list(APPEND SRCS bmi270.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
# These drivers depend on I2C support
|
# These drivers depend on I2C support
|
||||||
|
|
||||||
if(CONFIG_I2C)
|
if(CONFIG_I2C)
|
||||||
|
|||||||
Reference in New Issue
Block a user