diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-20 17:43:01 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-23 20:02:38 +0100 |
commit | 0bb7bcf316b528acbe0ef82f4c1e310e756074bc (patch) | |
tree | e76ca94d34e44c6b8c0cb864cfc28da26b8619df /decoders/uart_dump/__init__.py | |
parent | e54f222c4edf55a379e5b3ad892cf671ace83e48 (diff) | |
download | libsigrokdecode-0bb7bcf316b528acbe0ef82f4c1e310e756074bc.tar.gz libsigrokdecode-0bb7bcf316b528acbe0ef82f4c1e310e756074bc.zip |
uart: Add binaryout/dump support, drop obsolete 'uart_dump' PD.
The functionality of the preliminary 'uart_dump' PD is now available
in the proper 'uart' PD, via the OUTPUT_BINARY mechanism that frontends
can use to dump decoded data (in various formats) to a file, or pipe it
into other applications, and so on.
Old sigrok-cli example usage:
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1,uart_dump:filename=bootlog.txt
New sigrok-cli example usage:
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx > bootlog.txt
New sigrok-cli example usage (piping into other applications):
$ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx | grep "whatever"
Diffstat (limited to 'decoders/uart_dump/__init__.py')
-rw-r--r-- | decoders/uart_dump/__init__.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/decoders/uart_dump/__init__.py b/decoders/uart_dump/__init__.py deleted file mode 100644 index 1775ad4..0000000 --- a/decoders/uart_dump/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -## -## This file is part of the libsigrokdecode project. -## -## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -''' -TODO. - -Details: -TODO -''' - -from .pd import * - |