summaryrefslogtreecommitdiff
path: root/gr-usrp2
AgeCommit message (Collapse)Author
2009-05-27Merged r11123:11148 from jcorgan/np into trunk.jcorgan
Adds --enable-python option to configure (defaults to yes). Using --disable-python or --enable-python=no will cause only C++ API targets to be created and installed. Several new shared libraries are now created. Where in the past, the C++ objects of the actual gnuradio blocks that were in a component were hidden inside their corresponding Python extension modules, these are now split out into a libgnuradio-foo.so library, and the _foo.so Python module is linked to that. This has been the way several top- level components have operated for some time, such as gr-audio-alsa and gr-usrp and gr-usrp2. This changeset applies that pattern to all components. C++ API users can use pkg-config to discover the cflags and libs parameters needed to include and link against these libraries. These components have not been tested: gr-comedi gr-audio-osx gr-audio-windows Passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11150 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-22doc fixes! work-in-progresseb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11085 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-19Updates to C++ and Python APIs:jcorgan
* C++: Adds usrp2::MC_* constants for config_mimo() call in libusrp2 * Python: Adds usrp2.config_mimo(), and usrp2.MC_* constants * Python: Adds usrp2.sync_every_pps() git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11050 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-07Merged r10948:10959 from jcorgan/deb into trunk. Trunk passesjcorgan
distcheck. Part 1 of Debian/Ubuntu binary packaging update for 3.2 release. Creates all C++ API binary and dev packages, with their associated runtime dependencies. * Runtime shared-library packages: -libgruel -libgnuradio-omnithread -libpmt -libmblock -libgnuradio-core -libgnuradio-alsa -libgnuradio-qtgui -libusrp -libusrp2 -libgnuradio-usrp -libgnuradio-usrp2 * C++ development headers and pkg-config files for the above: -libgruel-dev -libgnuradio-omnithread-dev -libpmt-dev -libmblock-dev -libgnuradio-core-dev -libgnuradio-alsa-dev -libgnuradio-qtgui-dev -libusrp-dev -libusrp2-dev NOTE: For consistency, libqtgui.so has been renamed to libgnuradio-qtgui.so, and libgr-usrp2.so has been renamed to libgnuradio-usrp2.so. A 'gnuradio-dev' virtual package will be created that will depend upon the above -dev packages, so installing that one package will pull in all that is needed to do pure C++ development in GNU Radio. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10981 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-04Merged r10712:10765 from jcorgan/gpio into trunk. Adds out-of-band and ↵jcorgan
streaming GPIO functions for USRP2. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10766 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-14Merged r10554:10595 from michaelld/am_swig_4 into trunk. Major overhaul of ↵jcorgan
SWIG usage in build system, also fixes ticket:130. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10596 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-23Cleanup, changed ifc_name() to interface_name()jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10477 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-22Adds ifc_name() to libusrp2 and gr-usrp2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10475 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-10Merged r10385:10413 from michaelld/swig_tweaks into trunk. Passes distcheck.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10414 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-04Merged r10383:10390 from jcorgan/u2-wip into trunk.jcorgan
* Implements daughterboard independent LO offset tuning * Removes RFX specific LO offset code * Adds 'set_lo_offset' to libusrp2 and Python API * Adds --lo-offset to usrp2_fft.py and usrp2_rx_cfile.py * Ensures daughterboards are reset to default values at startup. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10392 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-03Revert r10379, which works at runtime but does not pass check or distcheck ↵jcorgan
on Ubuntu 8.10. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10380 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-03Use runtime valid module names for importjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10379 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-02Possibly temporary fix for r10350 breakage when using swig < 1.3.38jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10373 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-02Merged r10288:10370 from michaelld/swigpythonargs into trunk. Passes distcheck.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10371 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-31For USRP2, implement auto scaling of TX pipeline such that [-1.0 1.0] input tojcorgan
usrp2.sink_32fc results in full-scale DAC outputs, regardless of interpolation rate. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10182 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-29Implements USRP2 poke32() command.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10176 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-28Replaced USRP2 peek() with peek32(), handles endian-swapping if neededjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10174 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-27Implements USRP2 peek() command, allowing arbitrary reads from the internaljcorgan
Wishbone bus. Minor fix for USRP2 sync_to_pps() (uses correct packet type.) Example: >>> from gnuradio import usrp2 >>> u = usrp2.source_32fc() >>> u.peek(0x1234, 4) # Read four bytes at offset 0x1234 (code) (185, 244, 253, 164) >>> The return value will be zero length upon error. The read address must be 32-bit aligned, and only the lower 16 bits are significant. The length must be an integral multiple of 4 bytes. There is currently a read limit of 176 bytes per read; to change requires some additional firmware changes to allocate a larger reply packet. WARNING: Trying to read from memory locations not serviced by RAM or by a Wishbone peripheral may result in a hang requiring a USRP2 power cycle. The USRP2 internal memory map is documented in usrp2/firmware/lib/memory_map.h. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10172 221aa14e-8319-0410-a670-987f0aec2ac5
2008-12-15Add sync_to_pps to gr-usrp2jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10121 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-26Merged r9834:9855 from jcorgan/u2-wip into trunk. Catches up gr-usrp2 with ↵jcorgan
the latest changes in libusrp2, adding all the daughterboard accessor functions. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9856 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-22Added methods to query daughterboard parameters. Merged eb/u2-wip2eb
-r9804:9814 into trunk; initialized dacmux in firmware. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9816 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-24get initial sptr using new conventioneb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9653 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-24Minor cleanupjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9651 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-24return -1 (DONE flag) if source or sink sees an erroreb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9650 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-24Renamed identifiers for consistency: s/complex_float/32fc/ s/complex_16/16sc/. eb
Merged eb/u2-wip -r9645:9646 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9647 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-23Adds usrp2.sink_32fc, usrp2.sink_16sc, refactoring, cleanupjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9641 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-08Merged r9433:9527 from features/gr-usrp2 into trunk. Adds usrp2 and ↵jcorgan
gr-usrp2 top-level components. Trunk passes distcheck with mb-gcc installed, but currently not without them. The key issue is that when mb-gcc is not installed, the build system skips over the usrp2/firmware directory, and the firmware include files don't get put into the dist tarball. But we can't do the usual DIST_SUBDIRS method as the firmware is a subpackage. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9528 221aa14e-8319-0410-a670-987f0aec2ac5