zephyr/drivers/sensor/bmp388
Weiwei Guo 88f0793025 sensor: bmp388: Add I2C-base or SPI-base interface in build time
move DT_DRV_COMPAT to bmp388.h. so that can be decide which
interface to use.

define struct bmp388_bus_io interface bmp388_i2c.c and bmp388_spi.c.

redefined bus operation interface in bmp388.c, this allow the driver
to decide which interface to use during construction

Signed-off-by: Weiwei Guo <guoweiwei@syriusrobotics.com>
2023-04-07 13:14:00 +02:00
..
bmp388.c sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
bmp388.h sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
bmp388_i2c.c sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
bmp388_spi.c sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
bmp388_trigger.c sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
CMakeLists.txt sensor: bmp388: Add I2C-base or SPI-base interface in build time 2023-04-07 13:14:00 +02:00
Kconfig drivers: sensor: Convert Kconfig bus 'depends on' to 'select' 2022-08-08 06:58:18 +01:00