zephyr/samples/sensor/stm32_vbat_sensor/sample.yaml
Francois Ramu 816449c138 samples: sensor: new sample to demonstrate the Vbat monitoring
This new application is monitoring the Vbat in Volts
from the internal ADC.
Running on the nucleo_g071rb and nucle_wb55rg boards.
Vref is a property of the ADC.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-01 11:34:17 +02:00

17 lines
403 B
YAML

sample:
description: Usage of STM32 Vbat internal sensor
name: stm32_vbat_sensor
tests:
sample.sensor.stm32_vbat_sensor:
depends_on: adc
tags: sensors
platform_allow: nucleo_g071rb nucleo_wb55rg
timeout: 10
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "STM32 Vbat sensor test"
- "Current Vbat voltage: 3(.*) V"