forked from xuos/xiuos
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
|
|
config SENSOR_HS300X_HUMIDITY
|
|
bool "Using HS300x for humidity"
|
|
default n
|
|
|
|
if SENSOR_HS300X_HUMIDITY
|
|
config SENSOR_DEVICE_HS300X
|
|
string "HS300x sensor name"
|
|
default "hs300x_1"
|
|
|
|
config SENSOR_QUANTITY_HS300X_HUMIDITY
|
|
string "HS300x quantity name"
|
|
default "humidity_1"
|
|
|
|
if ADD_XIZI_FEATURES
|
|
config SENSOR_DEVICE_HS300X_DEV
|
|
string "HS300x device name"
|
|
default "/dev/i2c1_dev0"
|
|
|
|
config SENSOR_DEVICE_HS300X_I2C_ADDR
|
|
hex "HS300x device i2c address"
|
|
default 0x44
|
|
endif
|
|
|
|
|
|
if ADD_NUTTX_FEATURES
|
|
config SENSOR_DEVICE_HS300X_DEV
|
|
string "HS300x device name"
|
|
default "/dev/i2c1_dev0"
|
|
|
|
config SENSOR_DEVICE_HS300X_I2C_ADDR
|
|
hex "HS300x device i2c address"
|
|
default 0x44
|
|
|
|
endif
|
|
|
|
if ADD_RTTHREAD_FEATURES
|
|
config SENSOR_DEVICE_HS300X_DEV
|
|
string "HS300x device name"
|
|
default "/dev/i2c1"
|
|
config SENSOR_DEVICE_HS300X_I2C_ADDR
|
|
hex "HS300x device i2c address"
|
|
default 0x44
|
|
|
|
endif
|
|
endif
|