Johnathan Corgan [Tue, 18 May 2010 02:33:46 +0000 (19:33 -0700)]
Merge branch 'wip/burx_support'
* wip/burx_support:
-Updated to allow BURX support to be built into standard txrx.bin
Once and for all, here is the properly updated Makefile.am for the apps
Updated db_bitshark_rx.c to the proper version that includes the
Change default bandwidth to 25 MHz to match maximum USRP2 bandwidth
Update incorrectly checked in Makefile.am
usrp: Cleanup for merge of bitshark daughterboard code
Including bitshark_rx.h header file for USRP2 build
Fixed issue with with wrong Makefile.am files being copied
Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP2.
Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP1.
JohnOrlando [Mon, 17 May 2010 21:15:49 +0000 (16:15 -0500)]
-Updated to allow BURX support to be built into standard txrx.bin
image
-Also corrected db_bitshark_rx.c to the current version (previous
git push error) that includes the needed delays after I2C commands
Johnathan Corgan [Fri, 14 May 2010 17:31:19 +0000 (10:31 -0700)]
Merge remote branch 'bitshark/burx_support' into wip/burx_support
* bitshark/burx_support:
Once and for all, here is the properly updated Makefile.am for the apps
Updated db_bitshark_rx.c to the proper version that includes the
Johnathan Corgan [Fri, 14 May 2010 02:20:27 +0000 (19:20 -0700)]
build: force use of ltmain.sh from libtool 2.2.6b
Don Ward:
"The supplied version of ltmain.sh does not handle interlibrary
dependencies on Windows. I have attached a diff file showing
the slight differences between the ltmain.sh in the tarball
(2.2.6b Debian-2.2.6b-2ubuntu1, which fails) and the ltmain.sh
downloaded from packages.debian.org (plain 2.26b). It looks
like it was broken in Ubuntu 2.2.6a-3 (change log says "Don't
pull in depedency libs when linking a binary"). GNU Radio builds
ok if I run ./bootstrap locally."
JMC: This file (ltmain.sh) has not previously been under version
control and would be copied over (or symlinked) by the bootstrap
process. With a version now in the repository, we'll need to
ensure it stays fresh, likely at the same time we check for
updated config.guess and config.sub files.
Johnathan Corgan [Fri, 14 May 2010 02:10:44 +0000 (19:10 -0700)]
gnuradio-core: Disable (temporarily) interpolator tap calculation
There is some breakage with GR_FORTRAN / AC_PROG_F77 when running
bootstrap. The gen_interpolator_taps binary is only needed to
regenerate the MMSE interpolator taps, which hasn't been done for
several years. Disable this until proper fix can be done.
JohnOrlando [Thu, 13 May 2010 23:03:13 +0000 (18:03 -0500)]
Updated db_bitshark_rx.c to the proper version that includes the
delays when sending back-to-back I2C commands, as well as the proper
command when setting the bw (previous blunder with git resulted in
the wrong version on this branch)
Johnathan Corgan [Wed, 12 May 2010 01:00:19 +0000 (18:00 -0700)]
Merge branch 'master' into wip/burx_support
* master: (39 commits)
Add gru.hexshort to deal with short hex constants
Assign USB PID for Hans de Bok
Add missing buffer allocator hint to gr_ofdm_sampler.cc
Really fix the missing include for boost::bind
gr-wxgui: Added additional color table entries
Missed updates for omnithread/mblock removal
Remove omnithreads library.
Remove mblock library. We hardly knew 'ye.
Convert gr-audio-portaudio to Boost via gruel
Further updates for removing omnithreads
Update build configuration for OSX omnithreads changeover
Add missing include file for boost::bind
Convert gcell to use boost::threads instead of omnithread.
Fix sequence error indication after stopping then restarting streaming on USRP2.
initial move from mld_threads to gruel:: namespace threads and such
Initial changes to remove mld_thread and instead use gruel:: namespace classes
Fixing doxygen warnings from arb_resampler. Also, removed set_taps from public
Fixing doxygen warnings from channelizer block.
Fixing documentation to get rid of doxygen warnings.
Adding documentation for fff version of othe PFB clock sync algorithm.
...
Don Ward [Thu, 6 May 2010 14:02:35 +0000 (10:02 -0400)]
Flush pending errors in gr_udp_sink on disconnect()
On some systems (e.g., Debian/lenny) UDP errors are reported on the
following send() or recv() call. To avoid having errors (such as
ECONNREFUSED) from an old connection showing up on the first write
to a new connection, we do a recv() on disconnect() to flush them.
This may not work for all errors on all systems, but it works in
some simple cases of interest.
Don Ward [Tue, 4 May 2010 16:41:52 +0000 (12:41 -0400)]
Rework UDP source and sink, with incompatible API changes
Remove source address specifications for sink; add connect() and
disconnect() to sink; add get_port() to source; add optional EOF
signaling (using zero-length packets) to sink and source; modify
dial_tone, vector, and audio examples to match new code; add qa
test case.
Tom Rondeau [Sun, 2 May 2010 19:00:02 +0000 (15:00 -0400)]
Fixes segfault on close. Using the right objective (d_main_gui) instead of d_object to delete all of the plotting widgets. As far as Valgrind tells me, this cleans up my memory leaks although libqt and libqwt still have some of their own.
This checkin also disables the Waterfall3D plotting. It wasn't working anyway, but was also causing its own segfault upon deletion. Once it's working and deleting nicely, it will be re-enabled.
Tom Rondeau [Sat, 1 May 2010 23:06:13 +0000 (19:06 -0400)]
Fixes the replotting update. It's now based on a QTimer so it's in the event buffer as opposed to a best effort based on a hand-made timer. The interval between GUI updates is settable through the qtsink_X objects with set_update_time(newtime). This update makes the plotting much more stable. It also fixes the time scale of the waterfall plot to actually mean the right thing.
Eric Blossom [Sat, 1 May 2010 01:22:41 +0000 (18:22 -0700)]
Add missing buffer allocator hint to gr_ofdm_sampler.cc
This change was needed because gr_ofdm_sampler derives directly from
gr_block, but functions (from the runtime's point of view) as a
decimator. It takes many items in to produce a single output
item. Without this change, values of fft_size > ~4096 would result
in the scheduler complaining that it could never fullfil the block's
request for samples.
When deriving from gr_sync_interpolator or gr_sync_decimator, their
constructors set the hint automatically.
* wip/remove-mld-threads:
Further updates for removing omnithreads
Update build configuration for OSX omnithreads changeover
initial move from mld_threads to gruel:: namespace threads and such
Initial changes to remove mld_thread and instead use gruel:: namespace classes
Tom Rondeau [Sun, 18 Apr 2010 21:51:43 +0000 (17:51 -0400)]
Fixing doxygen warnings from arb_resampler. Also, removed set_taps from public
interface since we don't _really_ suppor this right now. Renamed it and made it private.
Applied patch from Srinivas Vutukuri to have tx_samples accept -g
Date: Tue, 19 Jan 2010 18:15:08 +0530
From: srinivas naga vutukuri <srinivas.vutukuri@gmail.com>
To: discuss-gnuradio@gnu.org
Subject: [Discuss-gnuradio] tx_samples.cc is not accepting the gain
parameter input.
Hi,
I observed that tx_samples.cc is not accepting the gain input parameter
(ie., -g option). I just changed like this in my code.
Its working, so posting the changes. If it is acceptable please take it.
Don Ward [Thu, 15 Apr 2010 18:37:04 +0000 (14:37 -0400)]
Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so we
expect setsockopt to return ENOPROTOOPT (invalid option for
protocol) on Cygwin and MinGW. If it happens on any other system
it should probably be ignored there, too.
Tom Rondeau [Tue, 13 Apr 2010 01:22:20 +0000 (21:22 -0400)]
The oversampling rate can be only a few values as defined by the number of channels and input sample rate.
This now checks to make sure the user-specified rate is valid.
Also added some documentation to describe the oversample rate parameter.
Tom Rondeau [Tue, 13 Apr 2010 00:45:10 +0000 (20:45 -0400)]
Channelizer can now produce any rational ratio of the sample rate in [fs/N, fs] where fs is the input sample rate and N is the number of channels. The ratios work out to be N/i for i in [1, N].