Commit graph

361 commits

Author SHA1 Message Date
Andrej Rode
6d7692f393 usrp2: fixes according to coverity reports 2017-01-12 15:15:37 -08:00
Andrej Rode
2f20264768 utils: use vt100 terminal codes in uhd_images_downloader 2017-01-03 14:05:33 -08:00
Martin Braun
5de7ab5108 utils: Added --abi-string to uhd_config_info 2016-12-01 16:22:48 -08:00
Martin Braun
581672f31d fixup! Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
Now also removes the namespaces in the utils/ directory.
2016-11-15 16:36:45 -08:00
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
  stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
  compilers support that).
2016-11-08 08:02:22 -08:00
Martin Braun
9e73914791 utils: Minor doc fix (amplitudes are not in counts) 2016-10-13 17:39:03 -07:00
Martin Braun
96d16901e2 utils: uhd_usrp_probe can query vector<string> 2016-09-23 12:00:18 -07:00
Martin Braun
a0ceeddc49 cmake: Check for python requests, warn if not found (does not fail though) 2016-09-22 16:00:31 -07:00
Martin Braun
6cb54d8433 Merge branch 'UHD-3.9.LTS' into maint 2016-08-18 16:32:08 -07:00
Martin Braun
bab99a289f utils: Added missing newline to query_gpsdo_sensor output 2016-08-18 16:29:43 -07:00
Martin Braun
0d14cb248b utils: uhd_config_info can now also report image dir and pkg path 2016-08-18 09:36:09 -07:00
Martin Braun
3bf4b000f7 Merging RFNoC support for X310 2016-08-09 12:42:52 -07:00
Martin Braun
3df0f6e9e4 Merge branch 'maint'
Conflicts:
	host/lib/usrp/dboard/db_wbx_version2.cpp
	host/lib/usrp/dboard/db_wbx_version3.cpp
2016-08-01 18:49:22 -07:00
Derek Kozel
031839052b utils: Added querying a sensor to uhd_usrp_probe 2016-08-01 18:40:41 -07:00
michael-west
e1139b2542 Octoclock: Fix firmware version compatibility 2016-06-27 13:58:28 -07:00
Martin Braun
f693349f12 Merge branch 'maint' 2016-06-17 14:35:17 -07:00
Nicholas Corgan
e103b5e670 uhd_config_info: added missing --boost-version option 2016-06-17 11:44:59 -07:00
Nicholas Corgan
f86c263682 query_gpsdo_sensors: added OctoClock-G support 2016-06-16 10:49:39 -07:00
Nicholas Corgan
ec75303792 Fixed minor warnings
* Mismatched printf format strings
* Number truncation
* Unreferenced variables
2016-06-16 08:02:11 -07:00
Martin Braun
a8fd23cb50 Merge branch 'maint' 2016-06-15 09:46:47 -07:00
Martin Braun
ab8d81bc33 octoclock: uhd_usrp_probe works for clocks now 2016-06-15 09:37:36 -07:00
Martin Braun
70cf1da4bd Merge branch 'maint' 2016-03-25 12:36:16 -07:00
Nicholas Corgan
8bfc4f541c query_gpsdo_sensors: fixed sleep time 2016-03-25 10:39:38 -07:00
Marcus Müller
7b54874264 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
2016-03-24 15:52:26 -07:00
Martin Braun
f2eb883922 cmake: Added installation of .reg file 2016-03-24 11:45:18 -07:00
Nicholas Corgan
603fb7aacd Updated code to work for new minimum dependencies
* Removed code referencing now-unsupported versions of Boost
* Added <stdint.h> includes where needed
2016-03-21 14:57:59 -07:00
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