eren-terzioglu opened a new pull request, #14008:
URL: https://github.com/apache/nuttx/pull/14008

   ## Summary
   
   Add uorb support for internal temperature sensor where commented in [this 
MR](https://github.com/apache/nuttx/pull/12775#issuecomment-2253467249) 
   
   - esp32[s3|s2]: Add temperature sensor thread support
   - esp32[c3|c6|h2]: Add temperature sensor thread support
   - esp32[s2|s3]: Add UORB support for internal temperature sensor
   - esp32[c3|c6|h2]: Add UORB support for internal temperature sensor
   
   ## Impact
   ESP32C3, ESP32C6, ESP32H2, ESP32S2 and ESP32S3
   
   ## Testing
   
   Tested with these configurations:
   
   ```
   esp32c3-generic:temperature_sensor
   esp32c6-devkitc:temperature_sensor
   esp32h2-devkit:temperature_sensor
   esp32s2-saola-1:temperature_sensor
   esp32s3-devkit:temperature_sensor
   ```
   
   Used `sensortest -n 10 temp0` command. Expected output:
   
   ```
   nsh> sensortest -n 10 temp0
   SensorTest: Test /dev/uorb/sensor_temp0 with interval(1000000us), 
latency(0us)
   temp0: timestamp:16970000 value:27.00
   temp0: timestamp:16980000 value:27.00
   temp0: timestamp:16990000 value:27.00
   temp0: timestamp:17000000 value:27.00
   temp0: timestamp:17010000 value:27.00
   temp0: timestamp:17020000 value:27.00
   temp0: timestamp:17030000 value:27.00
   temp0: timestamp:17050000 value:27.00
   temp0: timestamp:17060000 value:27.00
   temp0: timestamp:17070000 value:27.00
   SensorTest: Received message: temp0, number:10/10
   nsh>
   ```


-- 
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