nuttx-apps/system/uorb
likun17 00d9af873d system/uorb: add missing metadata for velocity and ambient_temp
SENSOR_TYPE_VELOCITY and SENSOR_TYPE_AMBIENT_TEMPERATURE have an
entry in the kernel g_sensor_meta[] table but no ORB_DECLARE/ORB_DEFINE
in user space, so ORB_ID() fails to link, callers must fall back to
orb_open() by name and lose the o_size check, and uorb_listener cannot
monitor them.
Add the missing metadata and register both in g_sensor_list[];
ambient_temp reuses struct sensor_temp the same way sensor_light_uncal
already reuses struct sensor_light.

Signed-off-by: likun17 <likun17@xiaomi.com>
2026-09-14 23:56:06 +08:00
..
sensor system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00
test system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
uORB system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
CMakeLists.txt uorb: add generator tool. 2025-11-20 20:44:25 +08:00
generator.c uorb/generator:Fix generator bugs and formatting issues. 2025-11-20 20:44:25 +08:00
Kconfig system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
listener.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
Make.defs system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile uorb: add generator tool. 2025-11-20 20:44:25 +08:00