Commit Graph

210 Commits

Author SHA1 Message Date
Vadim Yanitskiy cdc0ed783c libusb_get_device_list() may return a negative number
Change-Id: Ibf5f88d51c36ff9577f748c004562bd8ed2e96bf
Fixes: CID#240717
2021-10-25 00:33:28 +03:00
Vadim Yanitskiy ae3d54ceeb usrp_prims_common: fix use-after-free in get_proto_filename()
Every time the get_proto_filename() is called, a new instance
of std::string is allocated for the first argument.  When the
function returns, this instance gets deallocated.  Therefore,
the returned user_filename.c_str() points to free()d memory.

Change-Id: Ib0007e9aebd9e77c28531c1ec70c61f1723a2d0d
Fixes: CID#240724
2021-10-25 00:15:39 +03:00
Vadim Yanitskiy 559899621b usrp_standard: fix out-of-bounds read in set_rx_freq()
Change-Id: I3e3ba31e5a68f92a330c5791ee72ad1ffab83da9
Fixes: CID#240737
2021-10-24 23:38:46 +03:00
Alexander Huemer db7fbf8c11 Avoid compiler warning 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]'
Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
2019-02-06 21:45:14 +01:00
Pau Espin df354005f3 build: Fix make distcheck
Change-Id: I8f71cf91d4cdbe0fdc4e451b89d95437ff800337
2018-04-27 15:14:25 +02:00
Martin Hauke ce3b2fda09 build: Link libusrp_la also to boost_system
Change-Id: I184214c37251dde0ea9bd05f4a4cebfed35a8d9f
2018-01-23 22:12:14 +01:00
Alexander Huemer ec6adccbbd Extract libusrp, adjust to be buildable standalone
* $ git \
    filter-branch \
    --prune-empty \
    --tree-filter \
    'find \! -path "./usrp/*" -a -type f -delete' \
    HEAD
* Craft custom configure.ac
* Update m4 macros
* Small fixes here and there

The code in doc/, firmware/ and host/swig does _not_ build at the
moment, due to m4 macros not being adhered and is disabled therefore.
2018-01-21 01:30:14 +01:00
Don Ward 39daad5310 usrp: cleanup misc usage 2011-03-30 15:36:36 -07:00
Tom Rondeau 9d9baa5386 Merge branch 'master' of gnuradio.org:gnuradio 2011-03-25 13:53:09 -04:00
Don Ward 83056e43d7 Fixing missing include files and various other patches for Windows build issues. 2011-03-25 11:53:04 -04:00
Tom Rondeau a75112feb7 Merge branch 'master' of gnuradio.org:gnuradio 2011-03-20 12:31:10 -04:00
Tom Rondeau d694deb33b Fixing missing header file (in prep for future GCC's). ptrdiff_t is defined in stddef.h. 2011-02-27 17:35:05 -05:00
Eric Blossom 6f9d7add08 Regenerated Makefile.swig.gen's 2010-12-03 23:34:24 -08:00
Eric Blossom f0e7635c6a Update .gitignore's 2010-11-24 19:13:33 -08:00
Eric Blossom dc2588910e Major Makefile.am housecleaning. Passes distcheck.
Move all occurrences of swig_built_sources out of Makefile.am's.
Move all SWIG related use of BUILT_SOURCES out of Makefile.am's.
Clean up 'if PYTHON' conditionalization in gr-*

Still left to do: fix Makefile.swig CLEANFILES and no_dist_files
such that they remove exactly the generated files.
2010-11-24 17:29:11 -08:00
Rob Savoye 005c0c55a5 regenerated 2010-11-19 08:07:52 -07:00
Eric Blossom 5c9d25a206 Merge remote branch 'gnuradio.org/next' into test
* gnuradio.org/next:
  distcheck fix for gr-uhd
  Keep doxygen 1.7.1 from crashing.
  uhd: swig changes for templated ranges
2010-11-17 19:00:12 -08:00
Eric Blossom 3ce5c6a3f0 Keep doxygen 1.7.1 from crashing. 2010-11-17 18:52:05 -08:00
Eric Blossom 01f050a935 Fix guile related problem with gr-usrp 2010-11-16 21:40:55 -08:00
Eric Blossom f741fdab2b regenerated 2010-11-16 21:33:50 -08:00
Eric Blossom a52aed2448 regenerated 2010-11-10 13:01:38 -08:00
Rob Savoye 3f60d7f0ee regenerated 2010-11-10 12:15:43 -08:00
Eric Blossom 1b40745d32 additional regenerated files 2010-11-10 12:15:42 -08:00
Eric Blossom 234fd45233 regenerate 2010-11-10 12:13:53 -08:00
Eric Blossom b1f86e8b1a Rengenerate Makefile.swig.gen's 2010-11-10 12:13:53 -08:00
Eric Blossom 347bb61cf1 gitignore swig generated files 2010-11-10 12:10:45 -08:00
Eric Blossom 3699771aa9 Update generated files 2010-11-10 12:10:45 -08:00
Rob Savoye 6f86a68513 regenerated after changes to the template 2010-11-10 12:10:44 -08:00
Michael Dickens c6f56e4d15 rearrange includes to always be: internal GR, external, with GR. 2010-10-09 21:10:10 -04:00
Johnathan Corgan 32a1f42db7 Merge branch 'maint'
* maint:
  usrp2: fixes for gcc 4.5.0 compatibility
  formatting change: move break statements
  Fix unitialized variable pointed to by compiler warning
2010-08-04 18:54:55 -07:00
Eric Blossom d2529be51b formatting change: move break statements 2010-08-04 11:08:11 -07:00
Eric Blossom 50684991ff Fix unitialized variable pointed to by compiler warning 2010-08-04 11:05:38 -07:00
Jason Abele 266afda280 Add RFX2200 to burn-db-eeprom 2010-06-21 17:04:47 -07:00
Jason Abele b84513988d Copy paste for RFX2200 in USRP1 2010-06-21 17:04:47 -07:00
Jason Abele 0994dfe70c Fixed WBX RX PLL enable 2010-06-04 22:38:39 -07:00
Jason Abele aff599e832 Refactor WBX and adf4350 to avoid passing usrp pointer 2010-06-04 22:38:39 -07:00
Jason Abele 87bbd984a5 Clean up annoying class structure in wbx 2010-06-04 22:38:39 -07:00
Jason Abele 0ba8eaa142 Fixing wbx to use _refclk_freq() 2010-06-04 22:38:39 -07:00
Jason Abele a27a7bb1f6 Typo in error message 2010-06-04 22:38:39 -07:00
Johnathan Corgan d6a7626bab Make C++ shared libraries versioned 2010-05-28 20:02:38 -07:00
Johnathan Corgan fa46b23ddb 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.
  ...
2010-05-11 18:00:19 -07:00
Johnathan Corgan dd4afa6919 usrp: Cleanup for merge of bitshark daughterboard code
Removed unused variable
Set default bandwidth to 8M in constructor
2010-05-11 14:13:52 -07:00
Michael Dickens 5dbc6a3bcf initial move from mld_threads to gruel:: namespace threads and such 2010-04-19 15:35:07 -06:00
Jason Abele 2e21a12b62 Fix WBX tuning to allow DDC use in reaching 50MHz 2010-04-16 15:00:51 -07:00
JohnOrlando 656f2df789 Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP1. 2010-03-30 19:54:39 -05:00
Jason Abele acd46373d4 Clarified copyright and licensing 2010-02-19 15:39:01 -08:00
Eric Blossom 299fec1a46 Remove unnecessary implementation of flexrf::refclk_freq.
Apply patch from Alexander Chemeris <alexander.chemeris@gmail.com>
2010-01-18 12:27:45 -08:00
Eric Blossom cdb3df98bb Remove assert(dac_rate() == 128000000).
Applied patch from Alexander Chemeris <alexander.chemeris@gmail.com>
that allows non 64MHz clocking on USRP1.
2010-01-18 12:23:57 -08:00
Jason Abele 53facbe9b5 Remove wbxng tx gain dependence on pga gain 2010-01-05 15:12:36 -08:00
Jason Abele 153bb9417f Added antenna select support for new board rev 2010-01-04 11:30:52 -08:00