nuttx-apps/examples/rng90/Kconfig
Felipe Moura 8b43c71595 examples/rng90: add RNG90 example
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>
2026-06-09 12:36:04 +08:00

37 lines
876 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_RNG90
tristate "Microchip RNG90 TRNG example"
default n
depends on DEV_RNG90
---help---
Enable the RNG90 example. It opens the RNG90 character device,
runs the built-in self-test and reads random bytes from it.
if EXAMPLES_RNG90
config EXAMPLES_RNG90_PROGNAME
string "Program name"
default "rng90"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_RNG90_DEVPATH
string "RNG90 device path"
default "/dev/rng0"
---help---
The default path of the RNG90 character device.
config EXAMPLES_RNG90_PRIORITY
int "RNG90 task priority"
default 100
config EXAMPLES_RNG90_STACKSIZE
int "RNG90 stack size"
default DEFAULT_TASK_STACKSIZE
endif