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