head	1.2;
access;
symbols
	netbsd-11-0-RC5:1.2
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.10
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.8
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	thorpej-ifq:1.2.0.6
	thorpej-ifq-base:1.2
	thorpej-altq-separation:1.2.0.4
	thorpej-altq-separation-base:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.2
	netbsd-10-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2022.12.03.01.04.42;	author brad;	state Exp;
branches;
next	1.1;
commitid	mW2p7WuqkJYw234E;

1.1
date	2022.11.21.21.24.01;	author brad;	state Exp;
branches;
next	;
commitid	YVP3r5cer4A59C2E;


desc
@@


1.2
log
@

Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.
@
text
@.include "../Makefile.inc"

.PATH:	${S}/dev/ic

KMOD=	bmx280thp
IOCONF=	bmx280thp.ioconf
SRCS=	bmx280.c

WARNS=	3

.include <bsd.kmodule.mk>
@


1.1
log
@

A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor.  This is an inexpensive to moderately
expensive chip available from a large number of places.  The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter.  This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.
@
text
@d3 1
a3 1
.PATH:	${S}/dev/i2c
@

