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 config MAINFUNCTION_DEVEL_TIMER
14 bool "Test timer interrupts"
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.
21 config MAINFUNCTION_DEVEL_KEYBOARD
22 bool "Test keyboard / display"
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,
29 config MAINFUNCTION_DEVEL_NETWORK
32 select FUNCTION_DEVEL_NETCONSOLE
34 This test runs a networked console. The test will print information
35 about incoming network packets and ignore traffic sent to the device.
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.
42 The details of the networked console are described under the
43 add-on function for this console, one menu level up.
45 config MAINFUNCTION_DEVEL_SOUND
48 select FUNCTION_DEVEL_SOUNDIO
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.
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.