Commit graph

335 commits

Author SHA1 Message Date
Marcus Müller
45335d1e1c fx2: std::system("/sbin/rmmod usbtest") not portable, fixed that
FX2 code has complications on Windows machine due to
shell misinterpreting the "/sbin/rmmod usbtest" string.

* path should not be hardcoded
* std::system error message means "possible success" (which is confusing, and contains little information)
* replaced std::system by matching syscall
* used #ifdef UHD_PLATFORM_LINUX to make checking & removal Linux-only
2016-01-26 17:19:39 +01:00
Nicholas Corgan
f4656fcb7b Added uhd_config_info utility 2015-12-30 14:23:05 -08:00
Ashish Chaudhari
f44f7f2ca7 Merge branch 'maint'
Conflicts:
	host/lib/usrp/b200/b200_impl.hpp
	host/lib/usrp/e300/e300_fpga_defs.hpp
	host/lib/usrp/x300/x300_fw_common.h
2015-12-15 15:17:36 -08:00
Nicholas Corgan
75ea07bd6d usrp_x3xx_fpga_burner: use internal cdecode files 2015-12-15 10:31:49 -08:00
Nicholas Corgan
2930222340 Added B205mini VID/PID to udev file 2015-12-14 13:51:57 -08:00
Nicholas Corgan
373fec2fb1 ihex: Windows fixes 2015-12-14 13:26:45 -08:00
Martin Braun
87860fc322 octoclock: Now uses internal ihex parser 2015-12-14 13:26:44 -08:00
michael-west
ac1db2c460 B2xx: Added B205mini support.
- Add support to b200_impl
- New INF file
- Removed references to old 'B205' name
2015-12-10 16:14:46 -08:00
Marcus Müller
201c5360cb utils: Updated query_gpsdo_sensors
* Beautified the tool:
  * better help messages, argument description
  * removed device-specific warning about external clock source being  unavailable
  * if instant LO lock cannot be achieved, wait a few seconds
  * try/catches don't swallow unrelated errors
  * copyright year
* Since time is no longer auto-set on GPSDO, fix that
2015-11-11 10:37:26 -08:00
Martin Braun
4dd7cea6e0 cmake: Proper selection of files for ENABLE_X300 2015-10-26 16:56:04 -07:00
Martin Braun
ff13955757 utils: Fixed converter benchmark build fail on older compilers 2015-10-20 09:41:32 -07:00
Martin Braun
6dbda9edcd Merge branch 'maint' 2015-10-19 17:33:20 -07:00
Martin Braun
508311768a tools: Added converter benchmark tool 2015-10-19 17:33:17 -07:00
Marcus Müller
ec9ce22775 utils: Added pre-API change python request compatibility
Affects the uhd_images_downloader utility.
Older versions of requests didn't know the "stream" kwarg.
Added a compatibility fallback.
2015-10-19 09:52:10 -07:00
Martin Braun
a29dd3a9c8 b200mini: Added USB PID to uhd-usrp.rules 2015-09-08 09:24:15 -07:00
Martin Braun
5284e24783 b200mini: Added USB PID to uhd-usrp.rules 2015-09-08 09:23:47 -07:00
Nicholas Corgan
dbf09cabf4 OctoClock: shortened bootloader's wait for burner signal 2015-09-01 13:39:49 -07:00
michael-west
92539438c2 B2XX: Added B200mini support 2015-08-17 18:10:09 -07:00
Nicholas Corgan
d35a0e28b6 octoclock: replaced Intel hex -> binary converter 2015-08-14 12:30:53 -07:00
Nicholas Corgan
377850c969 e300: added -DE300_FORCE_NETWORK flag to CMake configuration
* Fixes building E300 support in native mode on any Linux system with libudev headers
* Added E300_NATIVE check to e300_common.cpp
* Improved network mode documentation
2015-08-10 11:01:43 -07:00
Nicholas Corgan
bb62ab84fd image_loader: force user to specify device
* On utility level, force user to use --args=type=foo
* In each loader, throw an error if args are ambiguous
2015-08-05 13:04:04 -07:00
Martin Braun
9e0a423ed1 Merge branch 'maint' 2015-08-03 17:28:53 -07:00
Nicholas Corgan
12cea5a484 Added NI B2x0 VID/PID pairs to udev rules 2015-08-03 17:28:38 -07:00
Martin Braun
8737c550f5 utils: Updated b2xx_side_channel utility, moved over from tools/ 2015-07-31 17:14:41 -07:00
Ashish Chaudhari
19a53da854 x300: Increased the max image size for legacy burner 2015-07-23 11:08:58 -07:00
Martin Braun
56921cff66 tools: Moved nirio_programmer out of utils 2015-07-21 15:44:05 -07:00
Martin Braun
a45f2b5179 utils: Made uhd_images_downloader Python3-compatible 2015-07-15 18:02:20 -07:00
Nicholas Corgan
0595900ecc Added uhd::image_loader class and uhd_image_loader utility
* Single class for loading firmware/FPGA images onto devices instead of multiple utilities
* Loading functions are registered for each device, corresponding to their --args="type=foo" name
* Deprecation warnings added to all product-specific image loading utilities
2015-07-15 09:32:18 -07:00
Balint Seeber
8116ae2114 b2xx: Added side-channel utility for FX3 debugging 2015-07-14 11:52:21 -07:00
Nicholas Corgan
d9656de88f OctoClock bugfixes
* Bumped compatibility version to 3
* firmware: Ethernet, clkdist bugfixes
* lib: fixed invalid rev detection
2015-07-09 09:13:41 -07:00
Martin Braun
47ba30d96b Merge branch 'maint' 2015-05-04 16:25:55 -07:00
Moritz Fischer
96f044e273 uhd: utils: query_gpsdo: Explicitly set time_source to 'gpsdo'.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-05-01 17:04:53 -07:00
Martin Braun
396549ac21 cmake: Improve usage of C modules 2015-04-21 11:56:51 -07:00
Marcus Müller
73d42182be utils: added integer, range and double property tree accessors
This amends uhd_usrp_probe's ability to query the property tree.
2015-04-21 11:56:50 -07:00
Martin Braun
63ba4f76a7 cmake: Improve usage of C modules 2015-04-20 16:47:32 -07:00
Marcus Müller
14d2555d83 utils: added integer, range and double property tree accessors
This amends uhd_usrp_probe's ability to query the property tree.
2015-04-20 15:20:20 -07:00
Martin Braun
88ffeb35da Merge branch 'maint' 2015-03-27 13:35:27 -07:00
Nicholas Corgan
1200721b69 Warning fixes
* CMake now not applying C++ flags to C files
* GCC 4.4: anti-aliasing rules
* MSVC: narrowing, differences in subclass function parameters
* Clang: uninitialized variables
2015-03-27 09:35:29 -07:00
Ashish Chaudhari
0634323a51 Merge branch 'maint' 2015-03-18 09:19:06 -07:00
Ashish Chaudhari
f9740c893b imgs_downloader: Copy pkg to temp dir even if it is local 2015-03-18 09:16:52 -07:00
Martin Braun
2e594ae877 Merge branch 'maint'
Conflicts:
	host/include/uhd/transport/vrt_if_packet.hpp
2015-03-11 17:05:10 -07:00
Martin Braun
cc7d37f114 uhd: Fixed several type-cast related warnings for naggy compilers 2015-03-11 16:58:23 -07:00
Martin Braun
fae746179c uhd: Fixed multiple compiler warnings (unused variables, missing literal f) 2015-03-11 16:58:09 -07:00
Martin Braun
7a2eaa10c6 Merge branch 'maint' 2015-03-11 09:19:20 -07:00
Martin Braun
e65b2d6643 cmake: Skip building fx3 utils if B200 is disabled 2015-03-10 11:45:25 -07:00
Ashish Chaudhari
e994fad157 Merge branch 'maint' 2015-02-26 13:50:39 -08:00
Marcus Müller
f06509c47d uhd: uhd_usrp_probe: added bandwidth ranges to RX output, if available 2015-02-18 16:38:12 +01:00
Ben Hilburn
75d519706b Merging new UHD_IMAGES_DIR utilities and bug fixes.
Also includes NI-USRP Windows Registry Key fixes.
2015-01-27 16:07:43 -08:00
Martin Braun
e97c4c72d8 Merge branch 'maint' 2015-01-22 20:22:23 +01:00
michael-west
4dc90d5a1e UBX: Add UBX Support 2015-01-22 20:10:02 +01:00