diff options
author | jcorgan | 2008-02-08 23:48:25 +0000 |
---|---|---|
committer | jcorgan | 2008-02-08 23:48:25 +0000 |
commit | 48fefc9b6e294c0ecb3cdd826b5a2f4b008fa829 (patch) | |
tree | 4c90381bca55f2f02c859dbedad3fffbf235fc33 /gr-gpio/src/python/qa_gpio.py | |
parent | 42d9c6f495503d3d9d2db47a9979036c9233f976 (diff) | |
download | gnuradio-48fefc9b6e294c0ecb3cdd826b5a2f4b008fa829.tar.gz gnuradio-48fefc9b6e294c0ecb3cdd826b5a2f4b008fa829.tar.bz2 gnuradio-48fefc9b6e294c0ecb3cdd826b5a2f4b008fa829.zip |
Merged r7611:7614 from jcorgan/gpio into trunk. Adds custom
FPGA build for streaming digital I/O to/from GPIO pins through LSB of I and Q
datastreams, with example programs of use.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7618 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-gpio/src/python/qa_gpio.py')
-rwxr-xr-x | gr-gpio/src/python/qa_gpio.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gr-gpio/src/python/qa_gpio.py b/gr-gpio/src/python/qa_gpio.py new file mode 100755 index 000000000..1d140c248 --- /dev/null +++ b/gr-gpio/src/python/qa_gpio.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python +# +# Copyright 2008 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio 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 3, or (at your option) +# any later version. +# +# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +from gnuradio import gr, gr_unittest +# This is different from the usage after installation +import gpio_swig + +class qa_gpio (gr_unittest.TestCase): + + def setUp (self): + self.tb = gr.top_block() + + def tearDown (self): + self.tb = None + +if __name__ == '__main__': + gr_unittest.main () |