examples/rng90: add Microchip RNG90 example application#3529
Open
FelipeMdeO wants to merge 1 commit into
Open
Conversation
Add a new RNG90 example application that opens the RNG90 character device, reads random bytes, and prints them in hexadecimal format. The example supports optional command-line arguments for device path and byte count and integrates with Kconfig, Make, and CMake build flows. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
3f303dd to
5574440
Compare
eren-terzioglu
approved these changes
Jun 8, 2026
cederom
approved these changes
Jun 8, 2026
Contributor
cederom
left a comment
There was a problem hiding this comment.
Thank you @FelipeMdeO :-)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new RNG90 example application in apps.
Changes included:
The example opens the RNG90 character device, reads random bytes, and prints
hex output. It supports optional command-line arguments for device path and
requested byte count.
How to enable via Kconfig:
Device Drivers -> Cryptographic Device Drivers -> RNG90(CONFIG_DEV_RNG90=y)Application Configuration -> Examples -> Microchip RNG90 TRNG example(CONFIG_EXAMPLES_RNG90=y)CONFIG_EXAMPLES_RNG90_PROGNAMECONFIG_EXAMPLES_RNG90_DEVPATHCONFIG_EXAMPLES_RNG90_PRIORITYCONFIG_EXAMPLES_RNG90_STACKSIZEImpact
Testing
Host:
Target:
Build/flash used for validation:
Hardware validation transcript: