1# SPDX-License-Identifier: Apache-2.0
2
3# zephyr-keep-sorted-start
4add_subdirectory(adi)
5add_subdirectory(ams)
6add_subdirectory(aosong)
7add_subdirectory(asahi_kasei)
8add_subdirectory(bosch)
9add_subdirectory(espressif)
10add_subdirectory(honeywell)
11add_subdirectory(infineon)
12add_subdirectory(ite)
13add_subdirectory(jedec)
14add_subdirectory(maxim)
15add_subdirectory(meas)
16add_subdirectory(memsic)
17add_subdirectory(microchip)
18add_subdirectory(nordic)
19add_subdirectory(nuvoton)
20add_subdirectory(nxp)
21add_subdirectory(renesas)
22add_subdirectory(rohm)
23add_subdirectory(seeed)
24add_subdirectory(sensirion)
25add_subdirectory(silabs)
26add_subdirectory(st)
27add_subdirectory(tdk)
28add_subdirectory(ti)
29add_subdirectory(vishay)
30add_subdirectory(wsen)
31# zephyr-keep-sorted-stop
32
33add_subdirectory_ifdef(CONFIG_A01NYUB a01nyub)
34add_subdirectory_ifdef(CONFIG_AMD_SB_TSI amd_sb_tsi)
35add_subdirectory_ifdef(CONFIG_AMG88XX amg88xx)
36add_subdirectory_ifdef(CONFIG_APDS9253 apds9253)
37add_subdirectory_ifdef(CONFIG_APDS9960 apds9960)
38add_subdirectory_ifdef(CONFIG_APDS9306 apds9306)
39add_subdirectory_ifdef(CONFIG_CURRENT_AMP current_amp)
40add_subdirectory_ifdef(CONFIG_ENS160 ens160)
41add_subdirectory_ifdef(CONFIG_EXPLORIR_M explorir_m)
42add_subdirectory_ifdef(CONFIG_F75303 f75303)
43add_subdirectory_ifdef(CONFIG_FCX_MLDX5 fcx_mldx5)
44add_subdirectory_ifdef(CONFIG_GROW_R502A grow_r502a)
45add_subdirectory_ifdef(CONFIG_HC_SR04 hc_sr04)
46add_subdirectory_ifdef(CONFIG_HP206C hp206c)
47add_subdirectory_ifdef(CONFIG_IST8310 ist8310)
48add_subdirectory_ifdef(CONFIG_LM35 lm35)
49add_subdirectory_ifdef(CONFIG_LM75 lm75)
50add_subdirectory_ifdef(CONFIG_LM77 lm77)
51add_subdirectory_ifdef(CONFIG_LTR_F216A ltrf216a)
52add_subdirectory_ifdef(CONFIG_MHZ19B mhz19b)
53add_subdirectory_ifdef(CONFIG_NCT75 nct75)
54add_subdirectory_ifdef(CONFIG_NTC_THERMISTOR ntc_thermistor)
55add_subdirectory_ifdef(CONFIG_PMS7003 pms7003)
56add_subdirectory_ifdef(CONFIG_QDEC_SAM qdec_sam)
57add_subdirectory_ifdef(CONFIG_RPI_PICO_TEMP rpi_pico_temp)
58add_subdirectory_ifdef(CONFIG_S11059 s11059)
59add_subdirectory_ifdef(CONFIG_SBS_GAUGE sbs_gauge)
60add_subdirectory_ifdef(CONFIG_SX9500 sx9500)
61add_subdirectory_ifdef(CONFIG_TH02 th02)
62add_subdirectory_ifdef(CONFIG_TSIC_XX6 tsic_xx6)
63add_subdirectory_ifdef(CONFIG_VEAA_X_3 veaa_x_3)
64add_subdirectory_ifdef(CONFIG_VOLTAGE_DIVIDER voltage_divider)
65add_subdirectory_ifdef(CONFIG_TACH_ENE_KB1200 ene_tach_kb1200)
66
67zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/sensor.h)
68
69zephyr_library()
70zephyr_library_property(ALLOW_EMPTY TRUE)
71
72zephyr_library_sources_ifdef(CONFIG_USERSPACE sensor_handlers.c)
73zephyr_library_sources_ifdef(CONFIG_SENSOR_SHELL sensor_shell.c)
74zephyr_library_sources_ifdef(CONFIG_SENSOR_SHELL_STREAM sensor_shell_stream.c)
75zephyr_library_sources_ifdef(CONFIG_SENSOR_SHELL_BATTERY shell_battery.c)
76zephyr_library_sources_ifdef(CONFIG_SENSOR_ASYNC_API sensor_decoders_init.c default_rtio_sensor.c)
77