1# SPDX-License-Identifier: Apache-2.0
2
3add_subdirectory_ifdef(CONFIG_A01NYUB a01nyub)
4add_subdirectory_ifdef(CONFIG_ADC_CMP_NPCX nuvoton_adc_cmp_npcx)
5add_subdirectory_ifdef(CONFIG_ADLTC2990 adltc2990)
6add_subdirectory_ifdef(CONFIG_ADT7310 adt7310)
7add_subdirectory_ifdef(CONFIG_ADT7420 adt7420)
8add_subdirectory_ifdef(CONFIG_ADXL345 adxl345)
9add_subdirectory_ifdef(CONFIG_ADXL362 adxl362)
10add_subdirectory_ifdef(CONFIG_ADXL372 adxl372)
11add_subdirectory_ifdef(CONFIG_AK8975 ak8975)
12add_subdirectory_ifdef(CONFIG_AKM09918C akm09918c)
13add_subdirectory_ifdef(CONFIG_AMG88XX amg88xx)
14add_subdirectory_ifdef(CONFIG_AMS_AS5600 ams_as5600)
15add_subdirectory_ifdef(CONFIG_AMS_IAQ_CORE ams_iAQcore)
16add_subdirectory_ifdef(CONFIG_APDS9960 apds9960)
17add_subdirectory_ifdef(CONFIG_BH1750 bh1750)
18add_subdirectory_ifdef(CONFIG_BMA280 bma280)
19add_subdirectory_ifdef(CONFIG_BMC150_MAGN bmc150_magn)
20add_subdirectory_ifdef(CONFIG_BME280 bme280)
21add_subdirectory_ifdef(CONFIG_BME680 bme680)
22add_subdirectory_ifdef(CONFIG_BMG160 bmg160)
23add_subdirectory_ifdef(CONFIG_BMI08X bmi08x)
24add_subdirectory_ifdef(CONFIG_BMI160 bmi160)
25add_subdirectory_ifdef(CONFIG_BMI270 bmi270)
26add_subdirectory_ifdef(CONFIG_BMI323 bmi323)
27add_subdirectory_ifdef(CONFIG_BMM150 bmm150)
28add_subdirectory_ifdef(CONFIG_BMP388 bmp388)
29add_subdirectory_ifdef(CONFIG_BQ274XX bq274xx)
30add_subdirectory_ifdef(CONFIG_CCS811 ccs811)
31add_subdirectory_ifdef(CONFIG_CURRENT_AMP current_amp)
32add_subdirectory_ifdef(CONFIG_DHT dht)
33add_subdirectory_ifdef(CONFIG_DPS310 dps310)
34add_subdirectory_ifdef(CONFIG_DS18B20 ds18b20)
35add_subdirectory_ifdef(CONFIG_ENS210 ens210)
36add_subdirectory_ifdef(CONFIG_ESP32_TEMP esp32_temp)
37add_subdirectory_ifdef(CONFIG_F75303 f75303)
38add_subdirectory_ifdef(CONFIG_FDC2X1X fdc2x1x)
39add_subdirectory_ifdef(CONFIG_FXAS21002 fxas21002)
40add_subdirectory_ifdef(CONFIG_FXOS8700 fxos8700)
41add_subdirectory_ifdef(CONFIG_GROVE_SENSORS grove)
42add_subdirectory_ifdef(CONFIG_GROW_R502A grow_r502a)
43add_subdirectory_ifdef(CONFIG_HAS_STMEMSC stmemsc)
44add_subdirectory_ifdef(CONFIG_HM330X hm330x)
45add_subdirectory_ifdef(CONFIG_HMC5883L hmc5883l)
46add_subdirectory_ifdef(CONFIG_HP206C hp206c)
47add_subdirectory_ifdef(CONFIG_HTS221 hts221)
48add_subdirectory_ifdef(CONFIG_I3G4250D i3g4250d)
49add_subdirectory_ifdef(CONFIG_ICM42605 icm42605)
50add_subdirectory_ifdef(CONFIG_ICM42670 icm42670)
51add_subdirectory_ifdef(CONFIG_ICM42688 icm42688)
52add_subdirectory_ifdef(CONFIG_ICP10125 icp10125)
53add_subdirectory_ifdef(CONFIG_IIS2DH iis2dh)
54add_subdirectory_ifdef(CONFIG_IIS2DLPC iis2dlpc)
55add_subdirectory_ifdef(CONFIG_IIS2ICLX iis2iclx)
56add_subdirectory_ifdef(CONFIG_IIS2MDC iis2mdc)
57add_subdirectory_ifdef(CONFIG_IIS3DHHC iis3dhhc)
58add_subdirectory_ifdef(CONFIG_INA219 ina219)
59add_subdirectory_ifdef(CONFIG_INA23X ina23x)
60add_subdirectory_ifdef(CONFIG_INA3221 ina3221)
61add_subdirectory_ifdef(CONFIG_IST8310 ist8310)
62add_subdirectory_ifdef(CONFIG_ISL29035 isl29035)
63add_subdirectory_ifdef(CONFIG_ISM330DHCX ism330dhcx)
64add_subdirectory_ifdef(CONFIG_ITDS wsen_itds)
65add_subdirectory_ifdef(CONFIG_LIS2DH lis2dh)
66add_subdirectory_ifdef(CONFIG_LIS2DS12 lis2ds12)
67add_subdirectory_ifdef(CONFIG_LIS2DW12 lis2dw12)
68add_subdirectory_ifdef(CONFIG_LIS2MDL lis2mdl)
69add_subdirectory_ifdef(CONFIG_LIS3MDL lis3mdl)
70add_subdirectory_ifdef(CONFIG_LM75 lm75)
71add_subdirectory_ifdef(CONFIG_LM77 lm77)
72add_subdirectory_ifdef(CONFIG_LPS22HB lps22hb)
73add_subdirectory_ifdef(CONFIG_LPS22HH lps22hh)
74add_subdirectory_ifdef(CONFIG_LPS25HB lps25hb)
75add_subdirectory_ifdef(CONFIG_LSM303DLHC_MAGN lsm303dlhc_magn)
76add_subdirectory_ifdef(CONFIG_LSM6DS0 lsm6ds0)
77add_subdirectory_ifdef(CONFIG_LSM6DSL lsm6dsl)
78add_subdirectory_ifdef(CONFIG_LSM6DSO lsm6dso)
79add_subdirectory_ifdef(CONFIG_LSM6DSO16IS lsm6dso16is)
80add_subdirectory_ifdef(CONFIG_LSM6DSV16X lsm6dsv16x)
81add_subdirectory_ifdef(CONFIG_LSM9DS0_GYRO lsm9ds0_gyro)
82add_subdirectory_ifdef(CONFIG_LSM9DS0_MFD lsm9ds0_mfd)
83add_subdirectory_ifdef(CONFIG_MAX17055 max17055)
84add_subdirectory_ifdef(CONFIG_MAX17262 max17262)
85add_subdirectory_ifdef(CONFIG_MAX30101 max30101)
86add_subdirectory_ifdef(CONFIG_MAX31855 max31855)
87add_subdirectory_ifdef(CONFIG_MAX31865 max31865)
88add_subdirectory_ifdef(CONFIG_MAX31875 max31875)
89add_subdirectory_ifdef(CONFIG_MAX44009 max44009)
90add_subdirectory_ifdef(CONFIG_MAX6675 max6675)
91add_subdirectory_ifdef(CONFIG_MCP9600 mcp9600)
92add_subdirectory_ifdef(CONFIG_MCP970X mcp970x)
93add_subdirectory_ifdef(CONFIG_MCP9808 mcp9808)
94add_subdirectory_ifdef(CONFIG_MCUX_ACMP mcux_acmp)
95add_subdirectory_ifdef(CONFIG_MHZ19B mhz19b)
96add_subdirectory_ifdef(CONFIG_MPR mpr)
97add_subdirectory_ifdef(CONFIG_MPU6050 mpu6050)
98add_subdirectory_ifdef(CONFIG_MPU9250 mpu9250)
99add_subdirectory_ifdef(CONFIG_MS5607 ms5607)
100add_subdirectory_ifdef(CONFIG_MS5837 ms5837)
101add_subdirectory_ifdef(CONFIG_NPM1300_CHARGER npm1300_charger)
102add_subdirectory_ifdef(CONFIG_NTC_THERMISTOR ntc_thermistor)
103add_subdirectory_ifdef(CONFIG_NXP_TEMPMON nxp_tempmon)
104add_subdirectory_ifdef(CONFIG_OPT3001 opt3001)
105add_subdirectory_ifdef(CONFIG_PCNT_ESP32 pcnt_esp32)
106add_subdirectory_ifdef(CONFIG_PMS7003 pms7003)
107add_subdirectory_ifdef(CONFIG_QDEC_MCUX qdec_mcux)
108add_subdirectory_ifdef(CONFIG_QDEC_NRFX qdec_nrfx)
109add_subdirectory_ifdef(CONFIG_QDEC_SAM qdec_sam)
110add_subdirectory_ifdef(CONFIG_QDEC_STM32 qdec_stm32)
111add_subdirectory_ifdef(CONFIG_RPI_PICO_TEMP rpi_pico_temp)
112add_subdirectory_ifdef(CONFIG_S11059 s11059)
113add_subdirectory_ifdef(CONFIG_SBS_GAUGE sbs_gauge)
114add_subdirectory_ifdef(CONFIG_SGP40 sgp40)
115add_subdirectory_ifdef(CONFIG_SHT3XD sht3xd)
116add_subdirectory_ifdef(CONFIG_SHT4X sht4x)
117add_subdirectory_ifdef(CONFIG_SHTCX shtcx)
118add_subdirectory_ifdef(CONFIG_SI7006 si7006)
119add_subdirectory_ifdef(CONFIG_SI7055 si7055)
120add_subdirectory_ifdef(CONFIG_SI7060 si7060)
121add_subdirectory_ifdef(CONFIG_SI7210 si7210)
122add_subdirectory_ifdef(CONFIG_SM351LT sm351lt)
123add_subdirectory_ifdef(CONFIG_STM32_TEMP stm32_temp)
124add_subdirectory_ifdef(CONFIG_STM32_VBAT stm32_vbat)
125add_subdirectory_ifdef(CONFIG_STM32_VREF stm32_vref)
126add_subdirectory_ifdef(CONFIG_STTS751 stts751)
127add_subdirectory_ifdef(CONFIG_SX9500 sx9500)
128add_subdirectory_ifdef(CONFIG_TACH_IT8XXX2 ite_tach_it8xxx2)
129add_subdirectory_ifdef(CONFIG_TACH_NPCX nuvoton_tach_npcx)
130add_subdirectory_ifdef(CONFIG_TACH_XEC mchp_tach_xec)
131add_subdirectory_ifdef(CONFIG_TCN75A tcn75a)
132add_subdirectory_ifdef(CONFIG_TCS3400 tcs3400)
133add_subdirectory_ifdef(CONFIG_TEMP_KINETIS nxp_kinetis_temp)
134add_subdirectory_ifdef(CONFIG_TEMP_NRF5 nrf5)
135add_subdirectory_ifdef(CONFIG_TH02 th02)
136add_subdirectory_ifdef(CONFIG_TI_HDC ti_hdc)
137add_subdirectory_ifdef(CONFIG_TI_HDC20XX ti_hdc20xx)
138add_subdirectory_ifdef(CONFIG_TMAG5170 tmag5170)
139add_subdirectory_ifdef(CONFIG_TMD2620 tmd2620)
140add_subdirectory_ifdef(CONFIG_TMP007 tmp007)
141add_subdirectory_ifdef(CONFIG_TMP108 tmp108)
142add_subdirectory_ifdef(CONFIG_TMP112 tmp112)
143add_subdirectory_ifdef(CONFIG_TMP116 tmp116)
144add_subdirectory_ifdef(CONFIG_TSL2540 tsl2540)
145add_subdirectory_ifdef(CONFIG_VCMP_IT8XXX2 ite_vcmp_it8xxx2)
146add_subdirectory_ifdef(CONFIG_VCNL4040 vcnl4040)
147add_subdirectory_ifdef(CONFIG_VEML7700 veml7700)
148add_subdirectory_ifdef(CONFIG_VL53L0X vl53l0x)
149add_subdirectory_ifdef(CONFIG_VL53L1X vl53l1x)
150add_subdirectory_ifdef(CONFIG_VOLTAGE_DIVIDER voltage_divider)
151add_subdirectory_ifdef(CONFIG_WSEN_HIDS wsen_hids)
152add_subdirectory_ifdef(CONFIG_WSEN_PADS wsen_pads)
153add_subdirectory_ifdef(CONFIG_WSEN_PDUS wsen_pdus)
154add_subdirectory_ifdef(CONFIG_WSEN_TIDS wsen_tids)
155add_subdirectory_ifdef(CONFIG_XMC4XXX_TEMP xmc4xxx_temp)
156
157zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/sensor.h)
158
159zephyr_library()
160zephyr_library_property(ALLOW_EMPTY TRUE)
161
162zephyr_library_sources_ifdef(CONFIG_USERSPACE sensor_handlers.c)
163zephyr_library_sources_ifdef(CONFIG_SENSOR_SHELL sensor_shell.c)
164zephyr_library_sources_ifdef(CONFIG_SENSOR_SHELL_BATTERY shell_battery.c)
165zephyr_library_sources_ifdef(CONFIG_SENSOR_ASYNC_API sensor_decoders_init.c default_rtio_sensor.c)
166