zephyr/drivers/sensor/bosch
Chris Ruehl db5091c9f4 Drivers: Add support for Bosch bmp180 sensor
Add driver support for Bosch bmp180 pressure sensor running on i2c bus.
It pushes the driver files to the bmp180 directory under
drivers/sensor/bosch. The driver implement the Sensor API
and support channel DIE_TEMP and PRESSURE.
Driver had been tested with the NRF5340DK.

V2 fixup
---------
Drivers: Bosch bmp180 fixups for PR v2
fix BMP180 in CMakeLists.txt
rename regControl to ctrlreg
simplify the logic in set_attribute
use BMP180_GET_CMD_TEMP_DELAY

Drivers: Bosch bmp180 use system byteorder macros
To aware of ENDIANESS use the macros from byteorders.h

Drivers: Bosch bmp180 comments added to #endif
Add a comment to the #endif /* CONFIG_FOO */

Drivers: Bosch bmp180 , fix twister run error
twister report an error related to using floor() with a float
fix this using floorf() function.

Drivers: Bosch bmp180, rework review v2
fix code style issues
simplify the structure for bus and i2c.
prepare to remove the empty bmp180_i2c.c

Drivers: Bosch bmp180, remove bmp180_i2c.c
bmp180: update CMakeList.txt remove bmp180_i2c.c
bmp180: remove unused variable

fixups for complient checks

replace homebrew bitshift with byteorder.h macro
sys_get_be16 and sys_get_be24
cleanup remove unused spi.h
change struct reg16/24 to uint8_t[]
remove channel AMBIENT_TEMP
bmp180/Kconfig add missing help text
fix indent issue in bmp180_pm_action
merge BMP180_CONFIG_I2C into BMP180_INST
Move DT_DRV_COMPAT out of the header file
drop LOG_DBG() from read calibration data
remove bus_io implementation and header cleanup
move headers and structs out from bmp180.h
fix typo in comment
apply clang format changes, only if not line lenght violation
fix indent code error after joined lines
conversion from Pa to kPh was wrong, fixed it
Remove default=n from Kconfig, it is the default.
Move the conversion ready test into a function (duplicate code)
and apply retry policy
parameter naming with indicate the usage
change BMP180_INST(inst) to clang format
fix int32_t overflow in convension formular
fix wrong devider in convension formula
move BSWAP_s16 BSWAP_u16 from .h to .c

Signed-off-by: Chris Ruehl <chris@gtsys.com.hk>
2024-08-30 11:46:25 -04:00
..
bma4xx sensor: bma4xx: Use RTIO workq on bma4xx_submit 2024-07-09 17:21:05 -04:00
bma280
bmc150_magn
bme280 sensor: bme280: Use RTIO workq on bme280_submit 2024-07-09 17:21:05 -04:00
bme680 sensor: bme680: simplify conversion logic 2024-05-30 02:06:19 -07:00
bmg160
bmi08x
bmi160 sensors: Add channel specifier 2024-05-17 09:30:18 +02:00
bmi270
bmi323
bmm150 drivers: sensor: bmm150: Fix setting of attributes 2024-06-20 12:05:23 -04:00
bmp180 Drivers: Add support for Bosch bmp180 sensor 2024-08-30 11:46:25 -04:00
bmp388
bmp581
CMakeLists.txt Drivers: Add support for Bosch bmp180 sensor 2024-08-30 11:46:25 -04:00
Kconfig Drivers: Add support for Bosch bmp180 sensor 2024-08-30 11:46:25 -04:00