forked from xuos/xiuos
				
			
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.7 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_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
 |