Zephyr Sensor API support for Bosch BMP180 temperature and pressure sensor
- Create folder
/bmp180
inZEPHYR_FODLER/zephyr/drivers/sensor
directory - Add this line into
ZEPHYR_FODLER/zephyr/drivers/sensor/CMakeLists.txt
:add_subdirectory_ifdef(CONFIG_BMP180 bmp180)
- Add this line into
ZEPHYR_FODLER/zephyr/drivers/sensor/KConfig
:source "drivers/sensor/bmp180/Kconfig"
- Copy
bosch,bmp180-i2c.yaml
file inZEPHYR_FODLER/zephyr/dts/bindings/sensor
folder