22c8340feb64b7cfa34729f7b7167bad806e2438
[firmerware] / src / function / Kconfig.devel
1 # Development functions
2
3 config MAINFUNCTION_DEVEL_GPIO
4         bool "Test switch / light"
5         depends on DEVEL
6         help
7           This is the simplest possible test program, which can be useful
8           to ensure control over a device during reverse engineering.
9
10           The application continuously scans the hook.  It makes the message
11           LED burn while the phone is off-hook.
12
13 config MAINFUNCTION_DEVEL_TIMER
14         bool "Test timer interrupts"
15         depends on DEVEL
16         help
17           This is a very simple test program.  It makes the message LED
18           flash with a 1 second period and a 50% duty cycle.  It can be
19           used to develop timer drivers.
20
21 config MAINFUNCTION_DEVEL_KEYBOARD
22         bool "Test keyboard / display"
23         depends on DEVEL
24         help
25           This test processes input from the keyboard, and shows it on
26           the display, as well as printing it to the platform's console,
27           if any.
28
29 config MAINFUNCTION_DEVEL_NETWORK
30         bool "Test network"
31         depends on DEVEL
32         select FUNCTION_DEVEL_NETCONSOLE
33         help
34           This test runs a networked console.  The test will print information
35           about incoming network packets and ignore traffic sent to the device.
36
37           Note that the performance is not based on timers, but instead
38           triggered when something is logged.  This may lead to delays in the
39           delivery, of bursty sends that cause rejects at the LLC2 level.
40           This is really just a test, rather than a perfect application.
41
42           The details of the networked console are described under the
43           add-on function for this console, one menu level up.
44
45 config MAINFUNCTION_DEVEL_SOUND
46         bool "Test sound"
47         depends on DEVEL
48         select FUNCTION_DEVEL_SOUNDIO
49         help
50           This test turns your phone into an echo well.  While off-hook, it will
51           echo handset voice to the handset with a one-second delay.  If it is
52           a speakerphone, it will use the built-in microphone and speaker to do
53           the same while on-hook.
54           
55           The sound is usually best implemented through DMA.  Not only does this
56           save lots of interrupts while working on other things, but the reliance
57           on hardware timers and not on any software aspects helps to keep the
58           sample rate very stable, thus leading to better voice quality.
59