From 5d38ee0f6f16a8db3b212d9282a21d5833b669e7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 20 Oct 2013 11:37:56 -0600 Subject: apps/examples/random: Add a test for /dev/random --- apps/examples/README.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'apps/examples/README.txt') diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 85b0e60fc..9423dcbcd 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -1307,6 +1307,28 @@ examples/qencoder is defined, then this value is the default delay if no other delay is provided on the command line. Default: 100 milliseconds +examples/random +^^^^^^^^^^^^^^^ + + This is a very simply test of /dev/random. It simple collects random + numbers and displays them on the console. + + Prerequistes: + + CONFIG_DEV_RANDOM - Support for /dev/random must be enabled in order + to select this example. + + Configuration: + + CONFIG_EXAMPLES_RANDOM - Enables the /dev/random test + CONFIG_EXAMPLES_MAXSAMPLES - 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! Default 64. + CONFIG_EXAMPLES_NSAMPLES; - 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. Default 8 + examples/relays ^^^^^^^^^^^^^^^ -- cgit v1.2.3