forked from xuos/xiuos
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
|
|
config SENSOR_HS300X_TEMPERATURE
|
|
bool "Using HS300x for temperature"
|
|
default n
|
|
|
|
if SENSOR_HS300X_TEMPERATURE
|
|
config SENSOR_DEVICE_HS300X
|
|
string "HS300x sensor name"
|
|
default "hs300x_1"
|
|
|
|
config SENSOR_QUANTITY_HS300X_TEMPERATURE
|
|
string "HS300x quantity name"
|
|
default "temperature_1"
|
|
|
|
if ADD_XIUOS_FETURES
|
|
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_FETURES
|
|
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
|
|
|
|
if ADD_RTTHREAD_FETURES
|
|
|
|
endif
|
|
endif
|