diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-07-12 18:10:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-07-12 18:10:12 -0600 |
commit | e77e09228c953f36872e0674ba98e4358f46b109 (patch) | |
tree | 6932f252ec3dbc7d8510e668530402474d3863e2 /apps/system/zmodem | |
parent | 8efbedf68d8cd929312a40d5c8f26e16258b135d (diff) | |
download | px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.tar.gz px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.tar.bz2 px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.zip |
Additional support needed for Zmodem debug
Diffstat (limited to 'apps/system/zmodem')
-rw-r--r-- | apps/system/zmodem/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/system/zmodem/Kconfig b/apps/system/zmodem/Kconfig index 570429485..167146e97 100644 --- a/apps/system/zmodem/Kconfig +++ b/apps/system/zmodem/Kconfig @@ -101,4 +101,22 @@ config SYSTEM_ZMODEM_MAXERRORS ---help--- Max receive errors before canceling the transfer. +config DEBUG_ZMODEM + bool "Zmodem debug" + default n + ---help--- + Enable Zmodem debug output. This debug is unrelated to the internal + NuttX debug option; it does not use the SYSLOG channel but, instead, + outputs debug information on stderr. Obviously, enabling this + option will likely cause you all kinds of problems if you intend to + use /dev/console to transfer files! + +config SYSTEM_ZMODEM_DUMPBUFFER + bool "Dump buffers" + default n + depends on DEBUG_ZMODEM + ---help--- + Dump the contents of all incoming and outgoing buffers that are + exchanged with the remote peer. + endif |