raiden00pl opened a new pull request, #21343:
URL: https://github.com/apache/nuttx/pull/21343

   
   ## Summary
   
   BREAKING CHANGE: the legacy HTS221 character driver is removed, use 
hts221_register_uorb() instead.
   
   ## Impact
   
   convert hts221 to uorb approach
   
   ## Testing
   
   Thingy:52 (nRF52832, HTS221 on I2C0 at 0x5f), RTT console.                   
                                                                                
                                                                                
           
   ```                                                                          
                                                                                
                                                                                
                                   
     nsh> ls /dev/uorb                                                          
                                                                                
                                                                                
                                    
      sensor_ambient_temp0                                                      
                                                                                
                                                                                
                                    
      sensor_humi0                                                              
                                                                                
                                                                                
                                    
     nsh> sensortest -n 3 -i 200000 humi0                                       
                                                                                
                                                                                
                                    
     humi0: timestamp:47820716 value:53.61                                      
                                                                                
                                                                                
                                    
     humi0: timestamp:48050704 value:53.93                                      
                                                                                
                                                                                
                                    
     humi0: timestamp:48280716 value:53.05                                      
                                                                                
                                                                                
                                    
     nsh> uorb_listener -n 2 sensor_ambient_temp0                               
                                                                                
                                                                                
                                    
     sensor_ambient_temp(now:45160804):timestamp:45160717,temperature:24.599018 
                                                                                
                                                                                
                                    
     sensor_ambient_temp(now:46190791):timestamp:46190704,temperature:24.673874 
                                                                                
                                                                                
                                    
   ```
                                                                                
                                                                                
                                                                                
                            
   Verified: SNIOC_GET_INFO, SNIOC_SELFTEST, SNIOC_OVERSAMPLING, intervals 1 s 
/ 500 ms / 200 ms / 100 ms, repeated open/close, both topics subscribed at 
once. B16 build reads 45.9 %rH / 29.7 C against 43.0 %rH / 29.8 C from the 
float build on the same board.                                                  
                                                                                
                                                                                
               
                                                                                
                                                                                
                                                                                
                                    
   Not covered: DRDY interrupt path (no board wires it) and the set_power 
callback (Thingy:52 passes NULL). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to