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

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   This PR adds support for the Microchip RNG90 in NuttX and documents the 
example application.
   
   Changes included:
   - RNG90 driver integration in kernel/board flow (device registration and 
usage via /dev/rng0).
   - ESP32-C3 board configuration updates for RNG90 enablement.
   - New user documentation for the RNG90 example at 
Documentation/applications/examples/rng90/index.rst, including overview, 
configuration, usage, references, and hardware validation transcript.
   
   ## Impact
   
   - New hardware feature support: RNG90 TRNG device.
   - New board configuration support for esp32c3-devkit.
   - No expected regression to unrelated subsystems.
   
   ## Testing
   
   Host:
   - macOS
   
   Target:
   - esp32c3-devkit
   - RNG90 connected and enabled
   - Serial port: /dev/cu.wchusbserial140
   - Serial settings: 115200 8N1
   
   Hardware validation transcript:
   
   ```text
   nsh> uname -a
   NuttX 12.6.0-RC1 4130050287-dirty Jun  7 2026 22:11:21 risc-v esp32c3-devkit
   
   nsh> ls /dev/rng0
    /dev/rng0
   
   nsh> rng90
   RNG90 example: device /dev/rng0
   Read 32 random byte(s):
   0d b2 71 d1 40 1f 3c 50 52 3d c6 2c a9 74 ec 60
   44 ab 67 bb c4 34 1b ac 48 62 fe b9 fd 95 c9 cb
   
   nsh> rng90 /dev/rng0 16
   RNG90 example: device /dev/rng0
   Read 16 random byte(s):
   ef 82 5f b7 41 f1 48 13 5a 41 16 3a 67 1b 90 f2
   
   nsh> rng90 /dev/rng0 64
   Invalid count 64, clamping to 32
   RNG90 example: device /dev/rng0
   Read 32 random byte(s):
   bb be 2f 20 7f c8 33 8d 18 90 c8 fb 94 db bc e6
   84 41 17 6f 5a be 5a 06 c3 7b f1 30 ac f2 a6 f5
   ```


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