zephyr/samples/sensor/hmc5883l/sample.yaml
Kevin Townsend 740f6868a5 sensor: hmc5883l: convert to device tree
This commit converts the existing hcm5883l 3-axis magnetometer
driver to use device tree for the I2C and GPIO selection.

It also adds a basic sample application for this sensor, using the
frdm-k64f development board to demonstrate how the interrupt
GPIO pin and I2C bus can be selected.

Signed-off-by: Kevin Townsend <kevin@ktownsend.com>
2019-11-08 12:12:38 -06:00

9 lines
187 B
YAML

sample:
name: HMC5883L Sensor Sample
tests:
sample.sensor.hmc5883l:
harness: sensor
tags: sensors
depends_on: i2c gpio
filter: dt_compat_enabled("honeywell,hmc5883l")