diff options
Diffstat (limited to 'apps/examples/random/Kconfig')
-rw-r--r-- | apps/examples/random/Kconfig | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/examples/random/Kconfig b/apps/examples/random/Kconfig new file mode 100644 index 000000000..8fde3e7d8 --- /dev/null +++ b/apps/examples/random/Kconfig @@ -0,0 +1,31 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config EXAMPLES_RANDOM + bool "/dev/random test" + default n + depends on DEV_RANDOM + ---help--- + Enable a simple test of /dev/random + +if EXAMPLES_RANDOM + +config EXAMPLES_MAXSAMPLES + int "I/O buffer size" + default 64 + ---help--- + This is the size of the /dev/random I/O buffer in units of 32-bit + samples. Careful! This buffer is allocated on the stack as needed! + +config EXAMPLES_NSAMPLES; + int "Default samples" + default 8 + ---help--- + When you execute the rand command, a number of samples ranging from + 1 to EXAMPLES_MAXSAMPLES may be specified. If no argument is + specified, this is the default number of samples that will be + collected and displayed. + +endif |