nuttx/drivers/sensors
Xiang Xiao a0357b3a65 !include/fcntl.h: align open flags with Linux values
Align the NuttX open(2) flag constants with the Linux asm-generic
values so that the FUSE wire protocol and other cross-platform
interfaces work without conversion.

All code that used '(flags & O_RDONLY)' as a bitmask check (always 0
now that O_RDONLY=0) has been updated to use '(flags & O_ACCMODE)'
comparisons.

The NUTTX_O_* constants in include/nuttx/fs/hostfs.h are updated to
match, and the sim hostfs open flag mapping is fixed.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-07-03 10:33:47 +08:00
..
adt7320.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
adt7320.h drivers/sensors/adt7320 : migrate license to ASF 2024-11-06 19:46:13 +08:00
adxl345.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
adxl345_base.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
adxl345_i2c.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
adxl345_spi.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
adxl362_uorb.c sensors/adxl362_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
adxl372.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
adxl372_uorb.c sensors/adxl372_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
aht10.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ak09912.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
amg88xx.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
apds9922.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
apds9960.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
as726x.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
as5048a.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
as5048b.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bh1749nuc.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
bh1749nuc_base.c drivers/sensors: fix various coding style issues 2025-05-23 11:29:58 -03:00
bh1749nuc_base.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bh1749nuc_uorb.c sensors/bh1749nuc_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bh1750fvi.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bme680_uorb.c !sensors/bme680: allow sensor configuration during registration 2026-06-10 20:45:31 +02:00
bme688_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
bmg160.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bmi088.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
bmi088_base.c drivers/sensors: fix various coding style issues 2025-05-23 11:29:58 -03:00
bmi088_base.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bmi088_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
bmi160.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
bmi160_base.c drivers/sensors: fix misplaced endif in bmi160_base.c 2026-04-15 17:47:46 +02:00
bmi160_base.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bmi160_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
bmi270.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bmi270_base.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bmi270_base.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bmi270_uorb.c sensors/bmi270_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bmm150_uorb.c sensors/bmm150_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bmp180.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
bmp180_base.c sensors/bmp180_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bmp180_base.h sensors/bmp180_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bmp180_uorb.c sensors/bmp180_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
bmp280_uorb.c sensors/bmp280_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
CMakeLists.txt drivers/sensors: Add support to MT6816 2026-05-03 07:56:38 -03:00
cxd5602pwbimu.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
dhtxx.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ds18b20_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
fakesensor_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
fs3000_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
fxos8700cq.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
gnss_uorb.c drivers: Fix comment typos — 'register' → 'registered' across drivers. 2026-05-28 22:21:47 +08:00
goldfish_gnss_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
goldfish_sensor_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
hall3ph.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
hc_sr04.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
hdc1008.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
hts221.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
hyt271_uorb.c sensors/hyt271_uorb: support for fixed-point data 2026-05-02 00:56:42 +08:00
ina219.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ina226.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ina3221.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
isl29023.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Kconfig drivers/sensors: Add support to MT6816 2026-05-03 07:56:38 -03:00
kxtj9.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
l3gd20_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
l86xxx_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
lis2dh.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lis2mdl_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
lis3dh.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lis3dsh.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lis3mdl.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lis331dl.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
lm75.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lm92.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lps25h.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lsm6dsl.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lsm6dso32_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
lsm9ds1.c drivers/sensors: Legacy sensor warning 2026-03-01 16:37:20 -03:00
lsm9ds1_base.c drivers/sensors: fix various coding style issues 2025-05-23 11:29:58 -03:00
lsm9ds1_base.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lsm9ds1_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
lsm303agr.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
lsm330_spi.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ltc4151.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ltr308_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
Make.defs drivers/sensors: Add support to MT6816 2026-05-03 07:56:38 -03:00
max6675.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
max31855.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
max31865.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
max44009.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mb7040.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mcp9600_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
mcp9844.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mlx90393.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mlx90614.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mpl115a.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
mpu60x0.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mpu9250_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
ms56xx_uorb.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
ms58xx.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
msa301.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mt6816.c drivers/sensors: Add support to MT6816 2026-05-03 07:56:38 -03:00
nau7802.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
qencoder.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
qmi8658_uorb.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
scd30.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
scd41.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
sensor.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
sensor_monitor.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sensor_rpmsg.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
sgp30.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
sht3x.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sht4x_uorb.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
sht21.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
sps30.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
t67xx.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
tmp112.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
usensor.c drivers/sensors: Added virtual sensor flag to prioritize reading 2026-01-19 12:22:46 +08:00
veml6070.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
vl53l1x.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
wtgahrs2_uorb.c drivers/sensors: add initial support for fixed-point data for sensors 2026-05-02 00:56:42 +08:00
xen1210.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xen1210.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
zerocross.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00