diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-15 15:36:01 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-15 18:18:23 +0100 |
commit | 64c29e28e0efa184319f7831b3eca18c7f73f7d0 (patch) | |
tree | 16b7c84aa9edefb61e01f70384ff280edb3f3483 /decoders | |
parent | d0a0ed032e0120140a28e93ac42753786bf0087b (diff) | |
download | libsigrokdecode-64c29e28e0efa184319f7831b3eca18c7f73f7d0.tar.gz libsigrokdecode-64c29e28e0efa184319f7831b3eca18c7f73f7d0.zip |
srd: Each PD now has its own subdirectory.
Diffstat (limited to 'decoders')
34 files changed, 540 insertions, 16 deletions
diff --git a/decoders/Makefile.am b/decoders/Makefile.am index 7c703ee..c1726cf 100644 --- a/decoders/Makefile.am +++ b/decoders/Makefile.am @@ -18,21 +18,17 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -pkgdatadir = $(DECODERS_DIR) - # Please keep this list in alphabetical order. -dist_pkgdata_DATA = \ - dcf77.py \ - ddc.py \ - i2c.py \ - mx25lxx05d.py \ - nunchuk.py \ - pan1321.py \ - spi.py \ - usb.py \ - transitioncounter.py \ - ebr30a_i2c_demux.py \ - uart.py - -CLEANFILES = *.pyc +SUBDIRS = \ + dcf77 \ + ddc \ + ebr30a_i2c_demux \ + i2c \ + mx25lxx05d \ + nunchuk \ + pan1321 \ + spi \ + transitioncounter \ + uart \ + usb diff --git a/decoders/dcf77/Makefile.am b/decoders/dcf77/Makefile.am new file mode 100644 index 0000000..c55f0b7 --- /dev/null +++ b/decoders/dcf77/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/dcf77 + +dist_pkgdata_DATA = __init__.py dcf77.py + +CLEANFILES = *.pyc + diff --git a/decoders/dcf77/__init__.py b/decoders/dcf77/__init__.py new file mode 100644 index 0000000..db7d2de --- /dev/null +++ b/decoders/dcf77/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .dcf77 import * + diff --git a/decoders/dcf77.py b/decoders/dcf77/dcf77.py index 48b3bba..48b3bba 100644 --- a/decoders/dcf77.py +++ b/decoders/dcf77/dcf77.py diff --git a/decoders/ddc/Makefile.am b/decoders/ddc/Makefile.am new file mode 100644 index 0000000..59c2c69 --- /dev/null +++ b/decoders/ddc/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/ddc + +dist_pkgdata_DATA = __init__.py ddc.py + +CLEANFILES = *.pyc + diff --git a/decoders/ddc/__init__.py b/decoders/ddc/__init__.py new file mode 100644 index 0000000..95cf31e --- /dev/null +++ b/decoders/ddc/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .ddc import * + diff --git a/decoders/ddc.py b/decoders/ddc/ddc.py index f839093..f839093 100644 --- a/decoders/ddc.py +++ b/decoders/ddc/ddc.py diff --git a/decoders/ebr30a_i2c_demux/Makefile.am b/decoders/ebr30a_i2c_demux/Makefile.am new file mode 100644 index 0000000..02e3421 --- /dev/null +++ b/decoders/ebr30a_i2c_demux/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/ebr30a_i2c_demux + +dist_pkgdata_DATA = __init__.py ebr30a_i2c_demux.py + +CLEANFILES = *.pyc + diff --git a/decoders/ebr30a_i2c_demux/__init__.py b/decoders/ebr30a_i2c_demux/__init__.py new file mode 100644 index 0000000..dddc8b7 --- /dev/null +++ b/decoders/ebr30a_i2c_demux/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .ebr30a_i2c_demux import * + diff --git a/decoders/ebr30a_i2c_demux.py b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py index 353fea8..353fea8 100644 --- a/decoders/ebr30a_i2c_demux.py +++ b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py diff --git a/decoders/i2c/Makefile.am b/decoders/i2c/Makefile.am new file mode 100644 index 0000000..75a53eb --- /dev/null +++ b/decoders/i2c/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/i2c + +dist_pkgdata_DATA = __init__.py i2c.py + +CLEANFILES = *.pyc + diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py new file mode 100644 index 0000000..9e7856e --- /dev/null +++ b/decoders/i2c/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .i2c import * + diff --git a/decoders/i2c.py b/decoders/i2c/i2c.py index f0a95b7..f0a95b7 100644 --- a/decoders/i2c.py +++ b/decoders/i2c/i2c.py diff --git a/decoders/mx25lxx05d/Makefile.am b/decoders/mx25lxx05d/Makefile.am new file mode 100644 index 0000000..2d571f3 --- /dev/null +++ b/decoders/mx25lxx05d/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/mx25lxx05d + +dist_pkgdata_DATA = __init__.py mx25lxx05d.py + +CLEANFILES = *.pyc + diff --git a/decoders/mx25lxx05d/__init__.py b/decoders/mx25lxx05d/__init__.py new file mode 100644 index 0000000..0affc99 --- /dev/null +++ b/decoders/mx25lxx05d/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .mx25lxx05d import * + diff --git a/decoders/mx25lxx05d.py b/decoders/mx25lxx05d/mx25lxx05d.py index cd97dee..cd97dee 100644 --- a/decoders/mx25lxx05d.py +++ b/decoders/mx25lxx05d/mx25lxx05d.py diff --git a/decoders/nunchuk/Makefile.am b/decoders/nunchuk/Makefile.am new file mode 100644 index 0000000..5a4917b --- /dev/null +++ b/decoders/nunchuk/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/nunchuk + +dist_pkgdata_DATA = __init__.py nunchuk.py + +CLEANFILES = *.pyc + diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py new file mode 100644 index 0000000..6772ba7 --- /dev/null +++ b/decoders/nunchuk/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .nunchuk import * + diff --git a/decoders/nunchuk.py b/decoders/nunchuk/nunchuk.py index 46bf53c..46bf53c 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk/nunchuk.py diff --git a/decoders/pan1321/Makefile.am b/decoders/pan1321/Makefile.am new file mode 100644 index 0000000..6997ed5 --- /dev/null +++ b/decoders/pan1321/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/pan1321 + +dist_pkgdata_DATA = __init__.py pan1321.py + +CLEANFILES = *.pyc + diff --git a/decoders/pan1321/__init__.py b/decoders/pan1321/__init__.py new file mode 100644 index 0000000..abbcf5d --- /dev/null +++ b/decoders/pan1321/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .pan1321 import * + diff --git a/decoders/pan1321.py b/decoders/pan1321/pan1321.py index 55676ce..55676ce 100644 --- a/decoders/pan1321.py +++ b/decoders/pan1321/pan1321.py diff --git a/decoders/spi/Makefile.am b/decoders/spi/Makefile.am new file mode 100644 index 0000000..89bf640 --- /dev/null +++ b/decoders/spi/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/spi + +dist_pkgdata_DATA = __init__.py spi.py + +CLEANFILES = *.pyc + diff --git a/decoders/spi/__init__.py b/decoders/spi/__init__.py new file mode 100644 index 0000000..3276fed --- /dev/null +++ b/decoders/spi/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .spi import * + diff --git a/decoders/spi.py b/decoders/spi/spi.py index 07b8da2..07b8da2 100644 --- a/decoders/spi.py +++ b/decoders/spi/spi.py diff --git a/decoders/transitioncounter/Makefile.am b/decoders/transitioncounter/Makefile.am new file mode 100644 index 0000000..74688a3 --- /dev/null +++ b/decoders/transitioncounter/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/transitioncounter + +dist_pkgdata_DATA = __init__.py transitioncounter.py + +CLEANFILES = *.pyc + diff --git a/decoders/transitioncounter/__init__.py b/decoders/transitioncounter/__init__.py new file mode 100644 index 0000000..bdf296b --- /dev/null +++ b/decoders/transitioncounter/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .transitioncounter import * + diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter/transitioncounter.py index 4c832b0..4c832b0 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter/transitioncounter.py diff --git a/decoders/uart/Makefile.am b/decoders/uart/Makefile.am new file mode 100644 index 0000000..155bfc9 --- /dev/null +++ b/decoders/uart/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/uart + +dist_pkgdata_DATA = __init__.py uart.py + +CLEANFILES = *.pyc + diff --git a/decoders/uart/__init__.py b/decoders/uart/__init__.py new file mode 100644 index 0000000..4267d83 --- /dev/null +++ b/decoders/uart/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .uart import * + diff --git a/decoders/uart.py b/decoders/uart/uart.py index 4752c7d..4752c7d 100644 --- a/decoders/uart.py +++ b/decoders/uart/uart.py diff --git a/decoders/usb/Makefile.am b/decoders/usb/Makefile.am new file mode 100644 index 0000000..f758e06 --- /dev/null +++ b/decoders/usb/Makefile.am @@ -0,0 +1,26 @@ +## +## This file is part of the sigrok 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 +## + +pkgdatadir = $(DECODERS_DIR)/usb + +dist_pkgdata_DATA = __init__.py usb.py + +CLEANFILES = *.pyc + diff --git a/decoders/usb/__init__.py b/decoders/usb/__init__.py new file mode 100644 index 0000000..068cadf --- /dev/null +++ b/decoders/usb/__init__.py @@ -0,0 +1,22 @@ +## +## This file is part of the sigrok 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 +## + +from .usb import * + diff --git a/decoders/usb.py b/decoders/usb/usb.py index 073fe01..073fe01 100644 --- a/decoders/usb.py +++ b/decoders/usb/usb.py |