From 2ac792d3e951e59e3feb6099125123728f5dd060 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Jul 2013 18:10:12 -0600 Subject: [PATCH] Additional support needed for Zmodem debug --- system/zmodem/Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/system/zmodem/Kconfig b/system/zmodem/Kconfig index 570429485..167146e97 100644 --- a/system/zmodem/Kconfig +++ b/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