summaryrefslogtreecommitdiff
path: root/apps/examples/random/Kconfig
blob: 8fde3e7d88daabd0d2061aab458da1e452513eda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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