Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/sensor/bosch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ add_subdirectory_ifdef(CONFIG_BMI160 bmi160)
add_subdirectory_ifdef(CONFIG_BMI270 bmi270)
add_subdirectory_ifdef(CONFIG_BMI323 bmi323)
add_subdirectory_ifdef(CONFIG_BMM150 bmm150)
add_subdirectory_ifdef(CONFIG_BMP180 bmp180)
add_subdirectory_ifdef(CONFIG_BMP388 bmp388)
add_subdirectory_ifdef(CONFIG_BMP581 bmp581)
# zephyr-keep-sorted-stop
1 change: 1 addition & 0 deletions drivers/sensor/bosch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ source "drivers/sensor/bosch/bmi160/Kconfig"
source "drivers/sensor/bosch/bmi270/Kconfig"
source "drivers/sensor/bosch/bmi323/Kconfig"
source "drivers/sensor/bosch/bmm150/Kconfig"
source "drivers/sensor/bosch/bmp180/Kconfig"
source "drivers/sensor/bosch/bmp388/Kconfig"
source "drivers/sensor/bosch/bmp581/Kconfig"
# zephyr-keep-sorted-stop
8 changes: 8 additions & 0 deletions drivers/sensor/bosch/bmp180/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Copyright (c) 2024 Chris Ruehl
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_library()
zephyr_library_sources(bmp180.c)
19 changes: 19 additions & 0 deletions drivers/sensor/bosch/bmp180/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2024 Chris Ruehl
# SPDX-License-Identifier: Apache-2.0

menuconfig BMP180
bool "Bosch BMP180 pressure sensor"
default y
depends on DT_HAS_BOSCH_BMP180_ENABLED
select I2C
help
Enable driver for the Bosch BMP180 pressure sensor

if BMP180

config BMP180_OSR_RUNTIME
bool "Change OSR at runtime."
help
Enable runtime changes of the oversampling value

endif # BMP180
Loading