Introduce a 1000 ms delay between consecutive sensor readings to prevent
logging overflow and reduce console clutter.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Most pressure sensors provide temperature and pressure data, but only a
few support altitude readings. This change adds a check to ensure
altitude is logged only when the sensor supports it.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
As a first step to enable the similar variants (e.g: ICM42686),
refactor common functionality into icm4268x files. As a result,
applications using the icm42688 will need to have both compatible
properties: "invensense,icm42688" and "invensense,icm4268x" defined.
In-tree boards have been modified to comply with this pattern.
This patch does not contain functional changes. The driver should
work the same as before.
Signed-off-by: Luis Ubieda <luisf@croxel.com>
1. Supported ACMP case on mimxrt700_evk
2. Fixed the issue of using the same address for
different trigger sources. This bug would cause the
examples to run in a way that did not match the theory.
3. Removed some redundant descriptions in the README.rst.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
The current sample was always trying to enable trigger mode in the
driver no matter what, causing issues for instances where the sensor
simply has no interrupt pin configured in Devicetree.
Cleaned things up so that enabling trigger mode is done via the
driver's Kconfig option, and cleaned up the Twister testcases
accordingly (plus, made sure they are actually built by setting
min_ram to a value compatibel with the nucleo_f334r8).
README has also been updated to clearly document how to enable
either mode.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1. enable sensor/nxp,lpcmp support
2. verified samples/sensor/mcux_lpcmp
3. update the mcux_lpcmp to support different port
Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
Change license owner to Prevas due to initially wrong owner due to company
mix-up during co-development.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
The qemu_rx is having issue with twister harness, command cannot
be send from twister test to qemu console, this commit temporary
disable them for further checking
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Add sample to read from up to 10 streaming devices, using the
sensor_stream() API and the RTIO framework:
https://docs.zephyrproject.org/latest/services/rtio/index.html
The devices has to be aliased as streamN (0 <= N <= 9) in DT, and
will be instantiated using SENSOR_DT_STREAM_IODEV() macro.
Currently the sample gets/prints data on SENSOR_TRIG_DATA_READY
trigger basis for the following sensor channels:
- SENSOR_CHAN_ACCEL_XYZ
Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit modifies the MAX30101 sample to produce a generic heart rate
sensor sample.
Support for the BH1790 sensor is added.
Signed-off-by: Magpie Embedded <magpieembedded@gmail.com>
Configures the accelerometer polling and trigger samples to disable the
uart console when the rtt console is enabled. Having both consoles
enabled simultaneously doesn't currently work on the apard32690 platform
and it's redundant anyway.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Adds adxl345 streaming and trigger configurations to accelerometer
samples for profiling the performance impact of adding rtio support to
max32 spi and adxl345 accelerometer drivers.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Changes the accelerometer polling sample to include data with the FIFO
watermark trigger instead of dropping it.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Add a new sample specifically for the SHT4X sensor.
Signed-off-by: Jakub Wasilewski <jwasilewski@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
The nRF52840 Preview development kit is no longer available and the
text in the README.rst is changed to be "nRF52840 Development kit" and
the link to the documentation is changed to point to the production
version.
Signed-off-by: Ole Sæther <ole.saether@nordicsemi.no>
Delete the MAX44009 sensor sample as it's fully generic and does nothing
that's not already in light_polling sample.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add a disabled st,stm32-qdec node to TIM3 for STM32F2-based MCUs.
This enables QDEC support via devicetree overlays and simplifies
usage on boards such as nucleo_f207zg.
Signed-off-by: Amaan Singh <amaansingh160@gmail.com>
The name of the sensor in the title had one S too many, it should
be LPS22HH instead of LPSS22HH.
Same for the I3C version of the sample.
Signed-off-by: Josep Puigdemont <josep.puigdemont@gmail.com>
Add missing conf and power-domains for adafruit_feather_esp32s2
boards for the BME280 sample
Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
The tmp116 sensor driver also supports tmp117 and tmp119. Therefore rename
to indicate that is supports a range of tmp devices.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Moved the grove light sensor into a generic light sensor sample.
Replaced board specific node name for light sensor with an alias.
Refactored project name to reflect generic light sensor.
Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>