raiden00pl opened a new pull request, #22249:
URL: https://github.com/apache/nuttx/pull/22249
## Summary
- drivers/sensors/lsm6ds3trc: Fix the build without
`CONFIG_SENSORS_LSM6DS3TRC_FIFO` (unused variable with -Werror), and
support the fixed-point sensor data type (`CONFIG_SENSORS_USE_B16`).
- drivers/sensors/lis2mdl: Report the vendor in the vendor field instead
of the name, leave self-test mode after the self-test, and support the
fixed-point sensor data type.
- drivers/sensors/lsm303agr: Add a uORB driver for the accelerometer and
the magnetometer (`CONFIG_SENSORS_LSM303AGR_UORB`), polled by one kernel
thread. The BSD-licensed character driver stays as it is.
- boards: Add X-NUCLEO-IKS01A2 shield support to the STM32 board common
code (`CONFIG_BOARD_STM32_IKS01A2`): LSM6DSL, LSM303AGR, HTS221 and
LPS22HB as uORB topics, and an `iks01a2` configuration for
nucleo-f303re, nucleo-f767zi, nucleo-g491re, nucleo-h533re,
nucleo-h743zi and nucleo-n657x0-q. The shield is documented in the STM32
Nucleo guide.
## Impact
New driver and shield support. LSM6DS3TR-C and LIS2MDL can now be built
with `CONFIG_SENSORS_USE_B16`; the float build behaves as before, except
that the LIS2MDL self-test error message prints the field change in
milligauss. No change for existing boards or configurations.
## Testing
X-NUCLEO-IKS01A2 on nucleo-f303re, nucleo-g491re and nucleo-h743zi: all
topics (accelerometer and gyroscope of the LSM6DSL, accelerometer and
magnetometer of the LSM303AGR, humidity and temperature of the HTS221,
pressure) deliver data with plausible values (about 1 g on the Z axis,
about 35 uT magnetic field, 1007 hPa, 44 %RH, 24 C). On nucleo-h743zi
this was also run with a `CONFIG_SENSORS_USE_B16` image, whose values
match the float image within sample noise, and with the LSM303AGR
accelerometer and magnetometer read at the same time, at different
rates.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]